Class LegacyAppInstallAdInfo.Builder

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

public static final class LegacyAppInstallAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder> implements LegacyAppInstallAdInfoOrBuilder
 A legacy app install ad that only can be used by a few select customers.
 
Protobuf type google.ads.googleads.v18.common.LegacyAppInstallAdInfo
  • 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<LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>
    • getDefaultInstanceForType

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

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

      public LegacyAppInstallAdInfo 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<LegacyAppInstallAdInfo.Builder>
    • setField

      public LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>
    • clearField

      public LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>
    • clearOneof

      public LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>
    • setRepeatedField

      public LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>
    • addRepeatedField

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

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

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

      public boolean hasAppId()
       The ID of the mobile app.
       
      optional string app_id = 6;
      Specified by:
      hasAppId in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      Whether the appId field is set.
    • getAppId

      public String getAppId()
       The ID of the mobile app.
       
      optional string app_id = 6;
      Specified by:
      getAppId in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The appId.
    • getAppIdBytes

      public com.google.protobuf.ByteString getAppIdBytes()
       The ID of the mobile app.
       
      optional string app_id = 6;
      Specified by:
      getAppIdBytes in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The bytes for appId.
    • setAppId

      public LegacyAppInstallAdInfo.Builder setAppId(String value)
       The ID of the mobile app.
       
      optional string app_id = 6;
      Parameters:
      value - The appId to set.
      Returns:
      This builder for chaining.
    • clearAppId

      public LegacyAppInstallAdInfo.Builder clearAppId()
       The ID of the mobile app.
       
      optional string app_id = 6;
      Returns:
      This builder for chaining.
    • setAppIdBytes

      public LegacyAppInstallAdInfo.Builder setAppIdBytes(com.google.protobuf.ByteString value)
       The ID of the mobile app.
       
      optional string app_id = 6;
      Parameters:
      value - The bytes for appId to set.
      Returns:
      This builder for chaining.
    • getAppStoreValue

      public int getAppStoreValue()
       The app store the mobile app is available in.
       
      .google.ads.googleads.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;
      Specified by:
      getAppStoreValue in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The enum numeric value on the wire for appStore.
    • setAppStoreValue

      public LegacyAppInstallAdInfo.Builder setAppStoreValue(int value)
       The app store the mobile app is available in.
       
      .google.ads.googleads.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;
      Parameters:
      value - The enum numeric value on the wire for appStore to set.
      Returns:
      This builder for chaining.
    • getAppStore

       The app store the mobile app is available in.
       
      .google.ads.googleads.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;
      Specified by:
      getAppStore in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The appStore.
    • setAppStore

       The app store the mobile app is available in.
       
      .google.ads.googleads.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;
      Parameters:
      value - The appStore to set.
      Returns:
      This builder for chaining.
    • clearAppStore

      public LegacyAppInstallAdInfo.Builder clearAppStore()
       The app store the mobile app is available in.
       
      .google.ads.googleads.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;
      Returns:
      This builder for chaining.
    • hasHeadline

      public boolean hasHeadline()
       The headline of the ad.
       
      optional string headline = 7;
      Specified by:
      hasHeadline in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      Whether the headline field is set.
    • getHeadline

      public String getHeadline()
       The headline of the ad.
       
      optional string headline = 7;
      Specified by:
      getHeadline in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The headline.
    • getHeadlineBytes

      public com.google.protobuf.ByteString getHeadlineBytes()
       The headline of the ad.
       
      optional string headline = 7;
      Specified by:
      getHeadlineBytes in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The bytes for headline.
    • setHeadline

      public LegacyAppInstallAdInfo.Builder setHeadline(String value)
       The headline of the ad.
       
      optional string headline = 7;
      Parameters:
      value - The headline to set.
      Returns:
      This builder for chaining.
    • clearHeadline

      public LegacyAppInstallAdInfo.Builder clearHeadline()
       The headline of the ad.
       
      optional string headline = 7;
      Returns:
      This builder for chaining.
    • setHeadlineBytes

      public LegacyAppInstallAdInfo.Builder setHeadlineBytes(com.google.protobuf.ByteString value)
       The headline of the ad.
       
      optional string headline = 7;
      Parameters:
      value - The bytes for headline to set.
      Returns:
      This builder for chaining.
    • hasDescription1

      public boolean hasDescription1()
       The first description line of the ad.
       
      optional string description1 = 8;
      Specified by:
      hasDescription1 in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      Whether the description1 field is set.
    • getDescription1

      public String getDescription1()
       The first description line of the ad.
       
      optional string description1 = 8;
      Specified by:
      getDescription1 in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The description1.
    • getDescription1Bytes

      public com.google.protobuf.ByteString getDescription1Bytes()
       The first description line of the ad.
       
      optional string description1 = 8;
      Specified by:
      getDescription1Bytes in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The bytes for description1.
    • setDescription1

      public LegacyAppInstallAdInfo.Builder setDescription1(String value)
       The first description line of the ad.
       
      optional string description1 = 8;
      Parameters:
      value - The description1 to set.
      Returns:
      This builder for chaining.
    • clearDescription1

      public LegacyAppInstallAdInfo.Builder clearDescription1()
       The first description line of the ad.
       
      optional string description1 = 8;
      Returns:
      This builder for chaining.
    • setDescription1Bytes

      public LegacyAppInstallAdInfo.Builder setDescription1Bytes(com.google.protobuf.ByteString value)
       The first description line of the ad.
       
      optional string description1 = 8;
      Parameters:
      value - The bytes for description1 to set.
      Returns:
      This builder for chaining.
    • hasDescription2

      public boolean hasDescription2()
       The second description line of the ad.
       
      optional string description2 = 9;
      Specified by:
      hasDescription2 in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      Whether the description2 field is set.
    • getDescription2

      public String getDescription2()
       The second description line of the ad.
       
      optional string description2 = 9;
      Specified by:
      getDescription2 in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The description2.
    • getDescription2Bytes

      public com.google.protobuf.ByteString getDescription2Bytes()
       The second description line of the ad.
       
      optional string description2 = 9;
      Specified by:
      getDescription2Bytes in interface LegacyAppInstallAdInfoOrBuilder
      Returns:
      The bytes for description2.
    • setDescription2

      public LegacyAppInstallAdInfo.Builder setDescription2(String value)
       The second description line of the ad.
       
      optional string description2 = 9;
      Parameters:
      value - The description2 to set.
      Returns:
      This builder for chaining.
    • clearDescription2

      public LegacyAppInstallAdInfo.Builder clearDescription2()
       The second description line of the ad.
       
      optional string description2 = 9;
      Returns:
      This builder for chaining.
    • setDescription2Bytes

      public LegacyAppInstallAdInfo.Builder setDescription2Bytes(com.google.protobuf.ByteString value)
       The second description line of the ad.
       
      optional string description2 = 9;
      Parameters:
      value - The bytes for description2 to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>
    • mergeUnknownFields

      public final LegacyAppInstallAdInfo.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<LegacyAppInstallAdInfo.Builder>