Class AdvertisingPartnerProperties.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdvertisingPartnerProperties.Builder>
com.google.ads.googleads.v23.resources.AdvertisingPartnerProperties.Builder
All Implemented Interfaces:
AdvertisingPartnerPropertiesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AdvertisingPartnerProperties

public static final class AdvertisingPartnerProperties.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdvertisingPartnerProperties.Builder> implements AdvertisingPartnerPropertiesOrBuilder
 Properties specific to an Advertising Partner link.
 
Protobuf type google.ads.googleads.v23.resources.AdvertisingPartnerProperties
  • 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<AdvertisingPartnerProperties.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<AdvertisingPartnerProperties.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<AdvertisingPartnerProperties.Builder>
    • getDefaultInstanceForType

      public AdvertisingPartnerProperties 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 AdvertisingPartnerProperties buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public AdvertisingPartnerProperties.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<AdvertisingPartnerProperties.Builder>
      Throws:
      IOException
    • hasAllowedDomain

      public boolean hasAllowedDomain()
       Output only. The allowed domain for the Advertising Partner link. The
       advertising partner will only be able to advertise on this domain. The
       field is immutable.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAllowedDomain in interface AdvertisingPartnerPropertiesOrBuilder
      Returns:
      Whether the allowedDomain field is set.
    • getAllowedDomain

      public String getAllowedDomain()
       Output only. The allowed domain for the Advertising Partner link. The
       advertising partner will only be able to advertise on this domain. The
       field is immutable.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedDomain in interface AdvertisingPartnerPropertiesOrBuilder
      Returns:
      The allowedDomain.
    • getAllowedDomainBytes

      public com.google.protobuf.ByteString getAllowedDomainBytes()
       Output only. The allowed domain for the Advertising Partner link. The
       advertising partner will only be able to advertise on this domain. The
       field is immutable.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedDomainBytes in interface AdvertisingPartnerPropertiesOrBuilder
      Returns:
      The bytes for allowedDomain.
    • setAllowedDomain

      public AdvertisingPartnerProperties.Builder setAllowedDomain(String value)
       Output only. The allowed domain for the Advertising Partner link. The
       advertising partner will only be able to advertise on this domain. The
       field is immutable.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The allowedDomain to set.
      Returns:
      This builder for chaining.
    • clearAllowedDomain

      public AdvertisingPartnerProperties.Builder clearAllowedDomain()
       Output only. The allowed domain for the Advertising Partner link. The
       advertising partner will only be able to advertise on this domain. The
       field is immutable.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAllowedDomainBytes

      public AdvertisingPartnerProperties.Builder setAllowedDomainBytes(com.google.protobuf.ByteString value)
       Output only. The allowed domain for the Advertising Partner link. The
       advertising partner will only be able to advertise on this domain. The
       field is immutable.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for allowedDomain to set.
      Returns:
      This builder for chaining.