Class MobileApplicationInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MobileApplicationInfo.Builder>
com.google.ads.googleads.v23.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.GeneratedMessage.Builder<MobileApplicationInfo.Builder> implements MobileApplicationInfoOrBuilder
 A mobile application criterion.
 
Protobuf type google.ads.googleads.v23.common.MobileApplicationInfo
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    A string that uniquely identifies a mobile application to Google Ads API.
    Name of this mobile application.
    A string that uniquely identifies a mobile application to Google Ads API.
    com.google.protobuf.ByteString
    A string that uniquely identifies a mobile application to Google Ads API.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Name of this mobile application.
    com.google.protobuf.ByteString
    Name of this mobile application.
    boolean
    A string that uniquely identifies a mobile application to Google Ads API.
    boolean
    Name of this mobile application.
    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)
     
    A string that uniquely identifies a mobile application to Google Ads API.
    setAppIdBytes(com.google.protobuf.ByteString value)
    A string that uniquely identifies a mobile application to Google Ads API.
    setName(String value)
    Name of this mobile application.
    setNameBytes(com.google.protobuf.ByteString value)
    Name of this mobile application.

    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<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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.