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

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

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

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

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

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

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

        public java.lang.String getResourceName()
         Output only. The resource name of the product bidding category.
         Product bidding category resource names have the form:
         `productBiddingCategoryConstants/{country_code}~{level}~{id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the product bidding category.
         Product bidding category resource names have the form:
         `productBiddingCategoryConstants/{country_code}~{level}~{id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public ProductBiddingCategoryConstant.Builder setResourceName​(java.lang.String value)
         Output only. The resource name of the product bidding category.
         Product bidding category resource names have the form:
         `productBiddingCategoryConstants/{country_code}~{level}~{id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public ProductBiddingCategoryConstant.Builder clearResourceName()
         Output only. The resource name of the product bidding category.
         Product bidding category resource names have the form:
         `productBiddingCategoryConstants/{country_code}~{level}~{id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public ProductBiddingCategoryConstant.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the product bidding category.
         Product bidding category resource names have the form:
         `productBiddingCategoryConstants/{country_code}~{level}~{id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • hasId

        public boolean hasId()
         Output only. 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasId in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
         Output only. 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The id.
      • setId

        public ProductBiddingCategoryConstant.Builder setId​(long value)
         Output only. 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ProductBiddingCategoryConstant.Builder clearId()
         Output only. 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasCountryCode

        public boolean hasCountryCode()
         Output only. Two-letter upper-case country code of the product bidding category.
         
        optional string country_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCountryCode in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        Whether the countryCode field is set.
      • getCountryCode

        public java.lang.String getCountryCode()
         Output only. Two-letter upper-case country code of the product bidding category.
         
        optional string country_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCountryCode in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The countryCode.
      • getCountryCodeBytes

        public com.google.protobuf.ByteString getCountryCodeBytes()
         Output only. Two-letter upper-case country code of the product bidding category.
         
        optional string country_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCountryCodeBytes in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The bytes for countryCode.
      • setCountryCode

        public ProductBiddingCategoryConstant.Builder setCountryCode​(java.lang.String value)
         Output only. Two-letter upper-case country code of the product bidding category.
         
        optional string country_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The countryCode to set.
        Returns:
        This builder for chaining.
      • clearCountryCode

        public ProductBiddingCategoryConstant.Builder clearCountryCode()
         Output only. Two-letter upper-case country code of the product bidding category.
         
        optional string country_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setCountryCodeBytes

        public ProductBiddingCategoryConstant.Builder setCountryCodeBytes​(com.google.protobuf.ByteString value)
         Output only. Two-letter upper-case country code of the product bidding category.
         
        optional string country_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for countryCode to set.
        Returns:
        This builder for chaining.
      • hasProductBiddingCategoryConstantParent

        public boolean hasProductBiddingCategoryConstantParent()
         Output only. Resource name of the parent product bidding category.
         
        optional string product_bidding_category_constant_parent = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        hasProductBiddingCategoryConstantParent in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        Whether the productBiddingCategoryConstantParent field is set.
      • getProductBiddingCategoryConstantParent

        public java.lang.String getProductBiddingCategoryConstantParent()
         Output only. Resource name of the parent product bidding category.
         
        optional string product_bidding_category_constant_parent = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getProductBiddingCategoryConstantParent in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The productBiddingCategoryConstantParent.
      • getProductBiddingCategoryConstantParentBytes

        public com.google.protobuf.ByteString getProductBiddingCategoryConstantParentBytes()
         Output only. Resource name of the parent product bidding category.
         
        optional string product_bidding_category_constant_parent = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getProductBiddingCategoryConstantParentBytes in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The bytes for productBiddingCategoryConstantParent.
      • setProductBiddingCategoryConstantParent

        public ProductBiddingCategoryConstant.Builder setProductBiddingCategoryConstantParent​(java.lang.String value)
         Output only. Resource name of the parent product bidding category.
         
        optional string product_bidding_category_constant_parent = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The productBiddingCategoryConstantParent to set.
        Returns:
        This builder for chaining.
      • clearProductBiddingCategoryConstantParent

        public ProductBiddingCategoryConstant.Builder clearProductBiddingCategoryConstantParent()
         Output only. Resource name of the parent product bidding category.
         
        optional string product_bidding_category_constant_parent = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setProductBiddingCategoryConstantParentBytes

        public ProductBiddingCategoryConstant.Builder setProductBiddingCategoryConstantParentBytes​(com.google.protobuf.ByteString value)
         Output only. Resource name of the parent product bidding category.
         
        optional string product_bidding_category_constant_parent = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for productBiddingCategoryConstantParent to set.
        Returns:
        This builder for chaining.
      • getLevelValue

        public int getLevelValue()
         Output only. Level of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLevelValue in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The enum numeric value on the wire for level.
      • setLevelValue

        public ProductBiddingCategoryConstant.Builder setLevelValue​(int value)
         Output only. Level of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for level to set.
        Returns:
        This builder for chaining.
      • clearLevel

        public ProductBiddingCategoryConstant.Builder clearLevel()
         Output only. Level of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         Output only. Status of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusValue in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public ProductBiddingCategoryConstant.Builder setStatusValue​(int value)
         Output only. Status of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public ProductBiddingCategoryConstant.Builder clearStatus()
         Output only. Status of the product bidding category.
         
        .google.ads.googleads.v10.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasLanguageCode

        public boolean hasLanguageCode()
         Output only. Language code of the product bidding category.
         
        optional string language_code = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLanguageCode in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        Whether the languageCode field is set.
      • getLanguageCode

        public java.lang.String getLanguageCode()
         Output only. Language code of the product bidding category.
         
        optional string language_code = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLanguageCode in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         Output only. Language code of the product bidding category.
         
        optional string language_code = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLanguageCodeBytes in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public ProductBiddingCategoryConstant.Builder setLanguageCode​(java.lang.String value)
         Output only. Language code of the product bidding category.
         
        optional string language_code = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public ProductBiddingCategoryConstant.Builder clearLanguageCode()
         Output only. Language code of the product bidding category.
         
        optional string language_code = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public ProductBiddingCategoryConstant.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         Output only. Language code of the product bidding category.
         
        optional string language_code = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • hasLocalizedName

        public boolean hasLocalizedName()
         Output only. Display value of the product bidding category localized according to
         language_code.
         
        optional string localized_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLocalizedName in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        Whether the localizedName field is set.
      • getLocalizedName

        public java.lang.String getLocalizedName()
         Output only. Display value of the product bidding category localized according to
         language_code.
         
        optional string localized_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLocalizedName in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The localizedName.
      • getLocalizedNameBytes

        public com.google.protobuf.ByteString getLocalizedNameBytes()
         Output only. Display value of the product bidding category localized according to
         language_code.
         
        optional string localized_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLocalizedNameBytes in interface ProductBiddingCategoryConstantOrBuilder
        Returns:
        The bytes for localizedName.
      • setLocalizedName

        public ProductBiddingCategoryConstant.Builder setLocalizedName​(java.lang.String value)
         Output only. Display value of the product bidding category localized according to
         language_code.
         
        optional string localized_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The localizedName to set.
        Returns:
        This builder for chaining.
      • clearLocalizedName

        public ProductBiddingCategoryConstant.Builder clearLocalizedName()
         Output only. Display value of the product bidding category localized according to
         language_code.
         
        optional string localized_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLocalizedNameBytes

        public ProductBiddingCategoryConstant.Builder setLocalizedNameBytes​(com.google.protobuf.ByteString value)
         Output only. Display value of the product bidding category localized according to
         language_code.
         
        optional string localized_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for localizedName to set.
        Returns:
        This builder for chaining.