Class AdvertisingPartnerLinkInvitationProperties.Builder

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

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

      public AdvertisingPartnerLinkInvitationProperties 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

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

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

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

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

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

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

       Immutable. The allowed domain for the Advertising Partner link invitation.
       The advertising partner will only be able to advertise on this domain. The
       field is immutable after the creation of the link invitation.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The allowedDomain to set.
      Returns:
      This builder for chaining.
    • clearAllowedDomain

       Immutable. The allowed domain for the Advertising Partner link invitation.
       The advertising partner will only be able to advertise on this domain. The
       field is immutable after the creation of the link invitation.
       
      optional string allowed_domain = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setAllowedDomainBytes

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