Class Recommendation.MerchantInfo.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<Recommendation.MerchantInfo.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<Recommendation.MerchantInfo.Builder>
      • getDefaultInstanceForType

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

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

        public Recommendation.MerchantInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

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

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

        public Recommendation.MerchantInfo.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<Recommendation.MerchantInfo.Builder>
        Throws:
        java.io.IOException
      • getId

        public long getId()
         Output only. The Merchant Center account ID.
         
        int64 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface Recommendation.MerchantInfoOrBuilder
        Returns:
        The id.
      • setId

        public Recommendation.MerchantInfo.Builder setId​(long value)
         Output only. The Merchant Center account ID.
         
        int64 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Recommendation.MerchantInfo.Builder clearId()
         Output only. The Merchant Center account ID.
         
        int64 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getName

        public java.lang.String getName()
         Output only. The name of the Merchant Center account.
         
        string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface Recommendation.MerchantInfoOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The name of the Merchant Center account.
         
        string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface Recommendation.MerchantInfoOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Recommendation.MerchantInfo.Builder setName​(java.lang.String value)
         Output only. The name of the Merchant Center account.
         
        string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Recommendation.MerchantInfo.Builder clearName()
         Output only. The name of the Merchant Center account.
         
        string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Recommendation.MerchantInfo.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the Merchant Center account.
         
        string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getMultiClient

        public boolean getMultiClient()
         Output only. Whether the Merchant Center account is a Multi-Client
         account (MCA).
         
        bool multi_client = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMultiClient in interface Recommendation.MerchantInfoOrBuilder
        Returns:
        The multiClient.
      • setMultiClient

        public Recommendation.MerchantInfo.Builder setMultiClient​(boolean value)
         Output only. Whether the Merchant Center account is a Multi-Client
         account (MCA).
         
        bool multi_client = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The multiClient to set.
        Returns:
        This builder for chaining.
      • clearMultiClient

        public Recommendation.MerchantInfo.Builder clearMultiClient()
         Output only. Whether the Merchant Center account is a Multi-Client
         account (MCA).
         
        bool multi_client = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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