Class ThirdPartyAppAnalyticsLinkIdentifier.Builder

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

public static final class ThirdPartyAppAnalyticsLinkIdentifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThirdPartyAppAnalyticsLinkIdentifier.Builder> implements ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
 The identifiers of a Third Party App Analytics Link.
 
Protobuf type google.ads.googleads.v18.resources.ThirdPartyAppAnalyticsLinkIdentifier
  • 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<ThirdPartyAppAnalyticsLinkIdentifier.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<ThirdPartyAppAnalyticsLinkIdentifier.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<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

      public ThirdPartyAppAnalyticsLinkIdentifier.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<ThirdPartyAppAnalyticsLinkIdentifier.Builder>
      Throws:
      IOException
    • hasAppAnalyticsProviderId

      public boolean hasAppAnalyticsProviderId()
       Immutable. The ID of the app analytics provider.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasAppAnalyticsProviderId in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      Whether the appAnalyticsProviderId field is set.
    • getAppAnalyticsProviderId

      public long getAppAnalyticsProviderId()
       Immutable. The ID of the app analytics provider.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppAnalyticsProviderId in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      The appAnalyticsProviderId.
    • setAppAnalyticsProviderId

      public ThirdPartyAppAnalyticsLinkIdentifier.Builder setAppAnalyticsProviderId(long value)
       Immutable. The ID of the app analytics provider.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The appAnalyticsProviderId to set.
      Returns:
      This builder for chaining.
    • clearAppAnalyticsProviderId

      public ThirdPartyAppAnalyticsLinkIdentifier.Builder clearAppAnalyticsProviderId()
       Immutable. The ID of the app analytics provider.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • hasAppId

      public boolean hasAppId()
       Immutable. A string that uniquely identifies a mobile application from
       which the data was collected to the Google Ads API. For iOS, the ID string
       is the 9 digit string that appears at the end of an App Store URL (for
       example, "422689480" for "Gmail" whose App Store link is
       https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For
       Android, the ID string is the application's package name (for example,
       "com.google.android.gm" for "Gmail" given Google Play link
       https://play.google.com/store/apps/details?id=com.google.android.gm)
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasAppId in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      Whether the appId field is set.
    • getAppId

      public String getAppId()
       Immutable. A string that uniquely identifies a mobile application from
       which the data was collected to the Google Ads API. For iOS, the ID string
       is the 9 digit string that appears at the end of an App Store URL (for
       example, "422689480" for "Gmail" whose App Store link is
       https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For
       Android, the ID string is the application's package name (for example,
       "com.google.android.gm" for "Gmail" given Google Play link
       https://play.google.com/store/apps/details?id=com.google.android.gm)
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppId in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      The appId.
    • getAppIdBytes

      public com.google.protobuf.ByteString getAppIdBytes()
       Immutable. A string that uniquely identifies a mobile application from
       which the data was collected to the Google Ads API. For iOS, the ID string
       is the 9 digit string that appears at the end of an App Store URL (for
       example, "422689480" for "Gmail" whose App Store link is
       https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For
       Android, the ID string is the application's package name (for example,
       "com.google.android.gm" for "Gmail" given Google Play link
       https://play.google.com/store/apps/details?id=com.google.android.gm)
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppIdBytes in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      The bytes for appId.
    • setAppId

       Immutable. A string that uniquely identifies a mobile application from
       which the data was collected to the Google Ads API. For iOS, the ID string
       is the 9 digit string that appears at the end of an App Store URL (for
       example, "422689480" for "Gmail" whose App Store link is
       https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For
       Android, the ID string is the application's package name (for example,
       "com.google.android.gm" for "Gmail" given Google Play link
       https://play.google.com/store/apps/details?id=com.google.android.gm)
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The appId to set.
      Returns:
      This builder for chaining.
    • clearAppId

       Immutable. A string that uniquely identifies a mobile application from
       which the data was collected to the Google Ads API. For iOS, the ID string
       is the 9 digit string that appears at the end of an App Store URL (for
       example, "422689480" for "Gmail" whose App Store link is
       https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For
       Android, the ID string is the application's package name (for example,
       "com.google.android.gm" for "Gmail" given Google Play link
       https://play.google.com/store/apps/details?id=com.google.android.gm)
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setAppIdBytes

      public ThirdPartyAppAnalyticsLinkIdentifier.Builder setAppIdBytes(com.google.protobuf.ByteString value)
       Immutable. A string that uniquely identifies a mobile application from
       which the data was collected to the Google Ads API. For iOS, the ID string
       is the 9 digit string that appears at the end of an App Store URL (for
       example, "422689480" for "Gmail" whose App Store link is
       https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For
       Android, the ID string is the application's package name (for example,
       "com.google.android.gm" for "Gmail" given Google Play link
       https://play.google.com/store/apps/details?id=com.google.android.gm)
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for appId to set.
      Returns:
      This builder for chaining.
    • getAppVendorValue

      public int getAppVendorValue()
       Immutable. The vendor of the app.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      .google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppVendorValue in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      The enum numeric value on the wire for appVendor.
    • setAppVendorValue

      public ThirdPartyAppAnalyticsLinkIdentifier.Builder setAppVendorValue(int value)
       Immutable. The vendor of the app.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      .google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for appVendor to set.
      Returns:
      This builder for chaining.
    • getAppVendor

      public MobileAppVendorEnum.MobileAppVendor getAppVendor()
       Immutable. The vendor of the app.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      .google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppVendor in interface ThirdPartyAppAnalyticsLinkIdentifierOrBuilder
      Returns:
      The appVendor.
    • setAppVendor

       Immutable. The vendor of the app.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      .google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The appVendor to set.
      Returns:
      This builder for chaining.
    • clearAppVendor

       Immutable. The vendor of the app.
       This field should not be empty when creating a new third
       party app analytics link. It is unable to be modified after the creation of
       the link.
       
      .google.ads.googleads.v18.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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