Class FinalAppUrl.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
com.google.ads.googleads.v22.common.FinalAppUrl.Builder
All Implemented Interfaces:
FinalAppUrlOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FinalAppUrl

public static final class FinalAppUrl.Builder extends com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder> implements FinalAppUrlOrBuilder
 A URL for deep linking into an app for the given operating system.
 
Protobuf type google.ads.googleads.v22.common.FinalAppUrl
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The operating system targeted by this URL.
    The app deep link URL.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The operating system targeted by this URL.
    int
    The operating system targeted by this URL.
    The app deep link URL.
    com.google.protobuf.ByteString
    The app deep link URL.
    boolean
    The app deep link URL.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The operating system targeted by this URL.
    setOsTypeValue(int value)
    The operating system targeted by this URL.
    setUrl(String value)
    The app deep link URL.
    setUrlBytes(com.google.protobuf.ByteString value)
    The app deep link URL.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
    • clear

      public FinalAppUrl.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
    • getDefaultInstanceForType

      public FinalAppUrl getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FinalAppUrl build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FinalAppUrl buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FinalAppUrl.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FinalAppUrl.Builder>
    • mergeFrom

      public FinalAppUrl.Builder mergeFrom(FinalAppUrl other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FinalAppUrl.Builder>
    • mergeFrom

      public FinalAppUrl.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FinalAppUrl.Builder>
      Throws:
      IOException
    • getOsTypeValue

      public int getOsTypeValue()
       The operating system targeted by this URL. Required.
       
      .google.ads.googleads.v22.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
      Specified by:
      getOsTypeValue in interface FinalAppUrlOrBuilder
      Returns:
      The enum numeric value on the wire for osType.
    • setOsTypeValue

      public FinalAppUrl.Builder setOsTypeValue(int value)
       The operating system targeted by this URL. Required.
       
      .google.ads.googleads.v22.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
      Parameters:
      value - The enum numeric value on the wire for osType to set.
      Returns:
      This builder for chaining.
    • getOsType

       The operating system targeted by this URL. Required.
       
      .google.ads.googleads.v22.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
      Specified by:
      getOsType in interface FinalAppUrlOrBuilder
      Returns:
      The osType.
    • setOsType

       The operating system targeted by this URL. Required.
       
      .google.ads.googleads.v22.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
      Parameters:
      value - The osType to set.
      Returns:
      This builder for chaining.
    • clearOsType

      public FinalAppUrl.Builder clearOsType()
       The operating system targeted by this URL. Required.
       
      .google.ads.googleads.v22.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1;
      Returns:
      This builder for chaining.
    • hasUrl

      public boolean hasUrl()
       The app deep link URL. Deep links specify a location in an app that
       corresponds to the content you'd like to show, and should be of the form
       {scheme}://{host_path}
       The scheme identifies which app to open. For your app, you can use a custom
       scheme that starts with the app's name. The host and path specify the
       unique location in the app where your content exists.
       Example: "exampleapp://productid_1234". Required.
       
      optional string url = 3;
      Specified by:
      hasUrl in interface FinalAppUrlOrBuilder
      Returns:
      Whether the url field is set.
    • getUrl

      public String getUrl()
       The app deep link URL. Deep links specify a location in an app that
       corresponds to the content you'd like to show, and should be of the form
       {scheme}://{host_path}
       The scheme identifies which app to open. For your app, you can use a custom
       scheme that starts with the app's name. The host and path specify the
       unique location in the app where your content exists.
       Example: "exampleapp://productid_1234". Required.
       
      optional string url = 3;
      Specified by:
      getUrl in interface FinalAppUrlOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       The app deep link URL. Deep links specify a location in an app that
       corresponds to the content you'd like to show, and should be of the form
       {scheme}://{host_path}
       The scheme identifies which app to open. For your app, you can use a custom
       scheme that starts with the app's name. The host and path specify the
       unique location in the app where your content exists.
       Example: "exampleapp://productid_1234". Required.
       
      optional string url = 3;
      Specified by:
      getUrlBytes in interface FinalAppUrlOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public FinalAppUrl.Builder setUrl(String value)
       The app deep link URL. Deep links specify a location in an app that
       corresponds to the content you'd like to show, and should be of the form
       {scheme}://{host_path}
       The scheme identifies which app to open. For your app, you can use a custom
       scheme that starts with the app's name. The host and path specify the
       unique location in the app where your content exists.
       Example: "exampleapp://productid_1234". Required.
       
      optional string url = 3;
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

      public FinalAppUrl.Builder clearUrl()
       The app deep link URL. Deep links specify a location in an app that
       corresponds to the content you'd like to show, and should be of the form
       {scheme}://{host_path}
       The scheme identifies which app to open. For your app, you can use a custom
       scheme that starts with the app's name. The host and path specify the
       unique location in the app where your content exists.
       Example: "exampleapp://productid_1234". Required.
       
      optional string url = 3;
      Returns:
      This builder for chaining.
    • setUrlBytes

      public FinalAppUrl.Builder setUrlBytes(com.google.protobuf.ByteString value)
       The app deep link URL. Deep links specify a location in an app that
       corresponds to the content you'd like to show, and should be of the form
       {scheme}://{host_path}
       The scheme identifies which app to open. For your app, you can use a custom
       scheme that starts with the app's name. The host and path specify the
       unique location in the app where your content exists.
       Example: "exampleapp://productid_1234". Required.
       
      optional string url = 3;
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.