Class DataPartnerIdentifier.Builder

  • All Implemented Interfaces:
    DataPartnerIdentifierOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    DataPartnerIdentifier

    public static final class DataPartnerIdentifier.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DataPartnerIdentifier.Builder>
    implements DataPartnerIdentifierOrBuilder
     The identifier for Data Partner account.
     
    Protobuf type google.ads.googleads.v14.resources.DataPartnerIdentifier
    • Method Detail

      • 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<DataPartnerIdentifier.Builder>
      • clear

        public DataPartnerIdentifier.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<DataPartnerIdentifier.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<DataPartnerIdentifier.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public DataPartnerIdentifier.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPartnerIdentifier.Builder>
      • clearField

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

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

        public DataPartnerIdentifier.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPartnerIdentifier.Builder>
      • addRepeatedField

        public DataPartnerIdentifier.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPartnerIdentifier.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataPartnerIdentifier.Builder>
      • mergeFrom

        public DataPartnerIdentifier.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.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<DataPartnerIdentifier.Builder>
        Throws:
        java.io.IOException
      • hasDataPartnerId

        public boolean hasDataPartnerId()
         Immutable. The customer ID of the Data partner account.
         This field is required and should not be empty when creating a new
         data partner link. It is unable to be modified after the creation of
         the link.
         
        optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasDataPartnerId in interface DataPartnerIdentifierOrBuilder
        Returns:
        Whether the dataPartnerId field is set.
      • getDataPartnerId

        public long getDataPartnerId()
         Immutable. The customer ID of the Data partner account.
         This field is required and should not be empty when creating a new
         data partner link. It is unable to be modified after the creation of
         the link.
         
        optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDataPartnerId in interface DataPartnerIdentifierOrBuilder
        Returns:
        The dataPartnerId.
      • setDataPartnerId

        public DataPartnerIdentifier.Builder setDataPartnerId​(long value)
         Immutable. The customer ID of the Data partner account.
         This field is required and should not be empty when creating a new
         data partner link. It is unable to be modified after the creation of
         the link.
         
        optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The dataPartnerId to set.
        Returns:
        This builder for chaining.
      • clearDataPartnerId

        public DataPartnerIdentifier.Builder clearDataPartnerId()
         Immutable. The customer ID of the Data partner account.
         This field is required and should not be empty when creating a new
         data partner link. It is unable to be modified after the creation of
         the link.
         
        optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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