Class AdvertisingPartnerIdentifier.Builder

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

public static final class AdvertisingPartnerIdentifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdvertisingPartnerIdentifier.Builder> implements AdvertisingPartnerIdentifierOrBuilder
 The identifier for the Advertising Partner Google Ads account.
 
Protobuf type google.ads.googleads.v18.resources.AdvertisingPartnerIdentifier
  • 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<AdvertisingPartnerIdentifier.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<AdvertisingPartnerIdentifier.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<AdvertisingPartnerIdentifier.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public AdvertisingPartnerIdentifier.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<AdvertisingPartnerIdentifier.Builder>
      Throws:
      IOException
    • hasCustomer

      public boolean hasCustomer()
       Output only. The resource name of the advertising partner Google Ads
       account. This field is required and should not be empty when creating a new
       Advertising Partner link. It is unable to be modified after the creation of
       the link.
       
      optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCustomer in interface AdvertisingPartnerIdentifierOrBuilder
      Returns:
      Whether the customer field is set.
    • getCustomer

      public String getCustomer()
       Output only. The resource name of the advertising partner Google Ads
       account. This field is required and should not be empty when creating a new
       Advertising Partner link. It is unable to be modified after the creation of
       the link.
       
      optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCustomer in interface AdvertisingPartnerIdentifierOrBuilder
      Returns:
      The customer.
    • getCustomerBytes

      public com.google.protobuf.ByteString getCustomerBytes()
       Output only. The resource name of the advertising partner Google Ads
       account. This field is required and should not be empty when creating a new
       Advertising Partner link. It is unable to be modified after the creation of
       the link.
       
      optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCustomerBytes in interface AdvertisingPartnerIdentifierOrBuilder
      Returns:
      The bytes for customer.
    • setCustomer

      public AdvertisingPartnerIdentifier.Builder setCustomer(String value)
       Output only. The resource name of the advertising partner Google Ads
       account. This field is required and should not be empty when creating a new
       Advertising Partner link. It is unable to be modified after the creation of
       the link.
       
      optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The customer to set.
      Returns:
      This builder for chaining.
    • clearCustomer

      public AdvertisingPartnerIdentifier.Builder clearCustomer()
       Output only. The resource name of the advertising partner Google Ads
       account. This field is required and should not be empty when creating a new
       Advertising Partner link. It is unable to be modified after the creation of
       the link.
       
      optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCustomerBytes

      public AdvertisingPartnerIdentifier.Builder setCustomerBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the advertising partner Google Ads
       account. This field is required and should not be empty when creating a new
       Advertising Partner link. It is unable to be modified after the creation of
       the link.
       
      optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for customer to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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