Class ProductCategoryConstant.ProductCategoryLocalization.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
- com.google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization.Builder
-
- All Implemented Interfaces:
ProductCategoryConstant.ProductCategoryLocalizationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ProductCategoryConstant.ProductCategoryLocalization
public static final class ProductCategoryConstant.ProductCategoryLocalization.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder> implements ProductCategoryConstant.ProductCategoryLocalizationOrBuilder
Localization for the product category.
Protobuf typegoogle.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
clear
public ProductCategoryConstant.ProductCategoryLocalization.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
getDefaultInstanceForType
public ProductCategoryConstant.ProductCategoryLocalization getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProductCategoryConstant.ProductCategoryLocalization build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProductCategoryConstant.ProductCategoryLocalization buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProductCategoryConstant.ProductCategoryLocalization.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
setField
public ProductCategoryConstant.ProductCategoryLocalization.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
clearField
public ProductCategoryConstant.ProductCategoryLocalization.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
clearOneof
public ProductCategoryConstant.ProductCategoryLocalization.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
setRepeatedField
public ProductCategoryConstant.ProductCategoryLocalization.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
addRepeatedField
public ProductCategoryConstant.ProductCategoryLocalization.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
mergeFrom
public ProductCategoryConstant.ProductCategoryLocalization.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
mergeFrom
public ProductCategoryConstant.ProductCategoryLocalization.Builder mergeFrom(ProductCategoryConstant.ProductCategoryLocalization other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
mergeFrom
public ProductCategoryConstant.ProductCategoryLocalization.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>- Throws:
java.io.IOException
-
getRegionCode
public java.lang.String getRegionCode()
Output only. Upper-case two-letter ISO 3166-1 country code of the localized category.
string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegionCodein interfaceProductCategoryConstant.ProductCategoryLocalizationOrBuilder- Returns:
- The regionCode.
-
getRegionCodeBytes
public com.google.protobuf.ByteString getRegionCodeBytes()
Output only. Upper-case two-letter ISO 3166-1 country code of the localized category.
string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegionCodeBytesin interfaceProductCategoryConstant.ProductCategoryLocalizationOrBuilder- Returns:
- The bytes for regionCode.
-
setRegionCode
public ProductCategoryConstant.ProductCategoryLocalization.Builder setRegionCode(java.lang.String value)
Output only. Upper-case two-letter ISO 3166-1 country code of the localized category.
string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The regionCode to set.- Returns:
- This builder for chaining.
-
clearRegionCode
public ProductCategoryConstant.ProductCategoryLocalization.Builder clearRegionCode()
Output only. Upper-case two-letter ISO 3166-1 country code of the localized category.
string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRegionCodeBytes
public ProductCategoryConstant.ProductCategoryLocalization.Builder setRegionCodeBytes(com.google.protobuf.ByteString value)
Output only. Upper-case two-letter ISO 3166-1 country code of the localized category.
string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for regionCode to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public java.lang.String getLanguageCode()
Output only. Two-letter ISO 639-1 language code of the localized category.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLanguageCodein interfaceProductCategoryConstant.ProductCategoryLocalizationOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Output only. Two-letter ISO 639-1 language code of the localized category.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLanguageCodeBytesin interfaceProductCategoryConstant.ProductCategoryLocalizationOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
public ProductCategoryConstant.ProductCategoryLocalization.Builder setLanguageCode(java.lang.String value)
Output only. Two-letter ISO 639-1 language code of the localized category.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public ProductCategoryConstant.ProductCategoryLocalization.Builder clearLanguageCode()
Output only. Two-letter ISO 639-1 language code of the localized category.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public ProductCategoryConstant.ProductCategoryLocalization.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Output only. Two-letter ISO 639-1 language code of the localized category.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getValue
public java.lang.String getValue()
Output only. The name of the category in the specified locale.
string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValuein interfaceProductCategoryConstant.ProductCategoryLocalizationOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
Output only. The name of the category in the specified locale.
string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValueBytesin interfaceProductCategoryConstant.ProductCategoryLocalizationOrBuilder- Returns:
- The bytes for value.
-
setValue
public ProductCategoryConstant.ProductCategoryLocalization.Builder setValue(java.lang.String value)
Output only. The name of the category in the specified locale.
string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public ProductCategoryConstant.ProductCategoryLocalization.Builder clearValue()
Output only. The name of the category in the specified locale.
string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setValueBytes
public ProductCategoryConstant.ProductCategoryLocalization.Builder setValueBytes(com.google.protobuf.ByteString value)
Output only. The name of the category in the specified locale.
string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProductCategoryConstant.ProductCategoryLocalization.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
mergeUnknownFields
public final ProductCategoryConstant.ProductCategoryLocalization.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductCategoryConstant.ProductCategoryLocalization.Builder>
-
-