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

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

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

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

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

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

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

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

        public boolean hasId()
         ID of the product bidding category.
         This ID is equivalent to the google_product_category ID as described in
         this article: https://support.google.com/merchants/answer/6324436
         
        optional int64 id = 4;
        Specified by:
        hasId in interface ProductBiddingCategoryInfoOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
         ID of the product bidding category.
         This ID is equivalent to the google_product_category ID as described in
         this article: https://support.google.com/merchants/answer/6324436
         
        optional int64 id = 4;
        Specified by:
        getId in interface ProductBiddingCategoryInfoOrBuilder
        Returns:
        The id.
      • setId

        public ProductBiddingCategoryInfo.Builder setId​(long value)
         ID of the product bidding category.
         This ID is equivalent to the google_product_category ID as described in
         this article: https://support.google.com/merchants/answer/6324436
         
        optional int64 id = 4;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ProductBiddingCategoryInfo.Builder clearId()
         ID of the product bidding category.
         This ID is equivalent to the google_product_category ID as described in
         this article: https://support.google.com/merchants/answer/6324436
         
        optional int64 id = 4;
        Returns:
        This builder for chaining.
      • hasCountryCode

        public boolean hasCountryCode()
         Two-letter upper-case country code of the product bidding category. It must
         match the campaign.shopping_setting.sales_country field.
         
        optional string country_code = 5;
        Specified by:
        hasCountryCode in interface ProductBiddingCategoryInfoOrBuilder
        Returns:
        Whether the countryCode field is set.
      • getCountryCode

        public java.lang.String getCountryCode()
         Two-letter upper-case country code of the product bidding category. It must
         match the campaign.shopping_setting.sales_country field.
         
        optional string country_code = 5;
        Specified by:
        getCountryCode in interface ProductBiddingCategoryInfoOrBuilder
        Returns:
        The countryCode.
      • getCountryCodeBytes

        public com.google.protobuf.ByteString getCountryCodeBytes()
         Two-letter upper-case country code of the product bidding category. It must
         match the campaign.shopping_setting.sales_country field.
         
        optional string country_code = 5;
        Specified by:
        getCountryCodeBytes in interface ProductBiddingCategoryInfoOrBuilder
        Returns:
        The bytes for countryCode.
      • setCountryCode

        public ProductBiddingCategoryInfo.Builder setCountryCode​(java.lang.String value)
         Two-letter upper-case country code of the product bidding category. It must
         match the campaign.shopping_setting.sales_country field.
         
        optional string country_code = 5;
        Parameters:
        value - The countryCode to set.
        Returns:
        This builder for chaining.
      • clearCountryCode

        public ProductBiddingCategoryInfo.Builder clearCountryCode()
         Two-letter upper-case country code of the product bidding category. It must
         match the campaign.shopping_setting.sales_country field.
         
        optional string country_code = 5;
        Returns:
        This builder for chaining.
      • setCountryCodeBytes

        public ProductBiddingCategoryInfo.Builder setCountryCodeBytes​(com.google.protobuf.ByteString value)
         Two-letter upper-case country code of the product bidding category. It must
         match the campaign.shopping_setting.sales_country field.
         
        optional string country_code = 5;
        Parameters:
        value - The bytes for countryCode to set.
        Returns:
        This builder for chaining.
      • getLevelValue

        public int getLevelValue()
         Level of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;
        Specified by:
        getLevelValue in interface ProductBiddingCategoryInfoOrBuilder
        Returns:
        The enum numeric value on the wire for level.
      • setLevelValue

        public ProductBiddingCategoryInfo.Builder setLevelValue​(int value)
         Level of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;
        Parameters:
        value - The enum numeric value on the wire for level to set.
        Returns:
        This builder for chaining.
      • clearLevel

        public ProductBiddingCategoryInfo.Builder clearLevel()
         Level of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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