Class MerchantCenterIdentifier.Builder

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

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

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

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

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

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

        public MerchantCenterIdentifier.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<MerchantCenterIdentifier.Builder>
      • isInitialized

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

        public MerchantCenterIdentifier.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<MerchantCenterIdentifier.Builder>
        Throws:
        java.io.IOException
      • hasMerchantCenterId

        public boolean hasMerchantCenterId()
         Immutable. The customer ID of the Google Merchant Center account.
         This field is required and should not be empty when creating a new
         Merchant Center link. It is unable to be modified after the creation of
         the link.
         
        optional int64 merchant_center_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasMerchantCenterId in interface MerchantCenterIdentifierOrBuilder
        Returns:
        Whether the merchantCenterId field is set.
      • getMerchantCenterId

        public long getMerchantCenterId()
         Immutable. The customer ID of the Google Merchant Center account.
         This field is required and should not be empty when creating a new
         Merchant Center link. It is unable to be modified after the creation of
         the link.
         
        optional int64 merchant_center_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMerchantCenterId in interface MerchantCenterIdentifierOrBuilder
        Returns:
        The merchantCenterId.
      • setMerchantCenterId

        public MerchantCenterIdentifier.Builder setMerchantCenterId​(long value)
         Immutable. The customer ID of the Google Merchant Center account.
         This field is required and should not be empty when creating a new
         Merchant Center link. It is unable to be modified after the creation of
         the link.
         
        optional int64 merchant_center_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The merchantCenterId to set.
        Returns:
        This builder for chaining.
      • clearMerchantCenterId

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

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

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