Class MobileApplicationInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
com.google.ads.googleads.v18.common.MobileApplicationInfo.Builder
All Implemented Interfaces:
MobileApplicationInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MobileApplicationInfo

public static final class MobileApplicationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder> implements MobileApplicationInfoOrBuilder
 A mobile application criterion.
 
Protobuf type google.ads.googleads.v18.common.MobileApplicationInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.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.GeneratedMessageV3.Builder<MobileApplicationInfo.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.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • setField

      public MobileApplicationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • clearField

      public MobileApplicationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • clearOneof

      public MobileApplicationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • setRepeatedField

      public MobileApplicationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • addRepeatedField

      public MobileApplicationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • mergeFrom

      public MobileApplicationInfo.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<MobileApplicationInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public MobileApplicationInfo.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<MobileApplicationInfo.Builder>
      Throws:
      IOException
    • hasAppId

      public boolean hasAppId()
       A string that uniquely identifies a mobile application to Google Ads API.
       The format of this string is "{platform}-{platform_native_id}", where
       platform is "1" for iOS apps and "2" for Android apps, and where
       platform_native_id is the mobile application identifier native to the
       corresponding platform.
       For iOS, this native identifier is the 9 digit string that appears at the
       end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose
       App Store link is
       "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android,
       this native identifier is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
       A well formed app id for Google Ads API would thus be "1-476943146" for iOS
       and "2-com.labpixies.colordrips" for Android.
       This field is required and must be set in CREATE operations.
       
      optional string app_id = 4;
      Specified by:
      hasAppId in interface MobileApplicationInfoOrBuilder
      Returns:
      Whether the appId field is set.
    • getAppId

      public String getAppId()
       A string that uniquely identifies a mobile application to Google Ads API.
       The format of this string is "{platform}-{platform_native_id}", where
       platform is "1" for iOS apps and "2" for Android apps, and where
       platform_native_id is the mobile application identifier native to the
       corresponding platform.
       For iOS, this native identifier is the 9 digit string that appears at the
       end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose
       App Store link is
       "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android,
       this native identifier is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
       A well formed app id for Google Ads API would thus be "1-476943146" for iOS
       and "2-com.labpixies.colordrips" for Android.
       This field is required and must be set in CREATE operations.
       
      optional string app_id = 4;
      Specified by:
      getAppId in interface MobileApplicationInfoOrBuilder
      Returns:
      The appId.
    • getAppIdBytes

      public com.google.protobuf.ByteString getAppIdBytes()
       A string that uniquely identifies a mobile application to Google Ads API.
       The format of this string is "{platform}-{platform_native_id}", where
       platform is "1" for iOS apps and "2" for Android apps, and where
       platform_native_id is the mobile application identifier native to the
       corresponding platform.
       For iOS, this native identifier is the 9 digit string that appears at the
       end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose
       App Store link is
       "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android,
       this native identifier is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
       A well formed app id for Google Ads API would thus be "1-476943146" for iOS
       and "2-com.labpixies.colordrips" for Android.
       This field is required and must be set in CREATE operations.
       
      optional string app_id = 4;
      Specified by:
      getAppIdBytes in interface MobileApplicationInfoOrBuilder
      Returns:
      The bytes for appId.
    • setAppId

      public MobileApplicationInfo.Builder setAppId(String value)
       A string that uniquely identifies a mobile application to Google Ads API.
       The format of this string is "{platform}-{platform_native_id}", where
       platform is "1" for iOS apps and "2" for Android apps, and where
       platform_native_id is the mobile application identifier native to the
       corresponding platform.
       For iOS, this native identifier is the 9 digit string that appears at the
       end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose
       App Store link is
       "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android,
       this native identifier is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
       A well formed app id for Google Ads API would thus be "1-476943146" for iOS
       and "2-com.labpixies.colordrips" for Android.
       This field is required and must be set in CREATE operations.
       
      optional string app_id = 4;
      Parameters:
      value - The appId to set.
      Returns:
      This builder for chaining.
    • clearAppId

      public MobileApplicationInfo.Builder clearAppId()
       A string that uniquely identifies a mobile application to Google Ads API.
       The format of this string is "{platform}-{platform_native_id}", where
       platform is "1" for iOS apps and "2" for Android apps, and where
       platform_native_id is the mobile application identifier native to the
       corresponding platform.
       For iOS, this native identifier is the 9 digit string that appears at the
       end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose
       App Store link is
       "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android,
       this native identifier is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
       A well formed app id for Google Ads API would thus be "1-476943146" for iOS
       and "2-com.labpixies.colordrips" for Android.
       This field is required and must be set in CREATE operations.
       
      optional string app_id = 4;
      Returns:
      This builder for chaining.
    • setAppIdBytes

      public MobileApplicationInfo.Builder setAppIdBytes(com.google.protobuf.ByteString value)
       A string that uniquely identifies a mobile application to Google Ads API.
       The format of this string is "{platform}-{platform_native_id}", where
       platform is "1" for iOS apps and "2" for Android apps, and where
       platform_native_id is the mobile application identifier native to the
       corresponding platform.
       For iOS, this native identifier is the 9 digit string that appears at the
       end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose
       App Store link is
       "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android,
       this native identifier is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       "https://play.google.com/store/apps/details?id=com.labpixies.colordrips").
       A well formed app id for Google Ads API would thus be "1-476943146" for iOS
       and "2-com.labpixies.colordrips" for Android.
       This field is required and must be set in CREATE operations.
       
      optional string app_id = 4;
      Parameters:
      value - The bytes for appId to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       Name of this mobile application.
       
      optional string name = 5;
      Specified by:
      hasName in interface MobileApplicationInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of this mobile application.
       
      optional string name = 5;
      Specified by:
      getName in interface MobileApplicationInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of this mobile application.
       
      optional string name = 5;
      Specified by:
      getNameBytes in interface MobileApplicationInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public MobileApplicationInfo.Builder setName(String value)
       Name of this mobile application.
       
      optional string name = 5;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public MobileApplicationInfo.Builder clearName()
       Name of this mobile application.
       
      optional string name = 5;
      Returns:
      This builder for chaining.
    • setNameBytes

      public MobileApplicationInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of this mobile application.
       
      optional string name = 5;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final MobileApplicationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>
    • mergeUnknownFields

      public final MobileApplicationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MobileApplicationInfo.Builder>