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.v18.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,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 type
google.ads.googleads.v18.resources.ProductCategoryConstant.ProductCategoryLocalization-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getValue()Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setLanguageCode(String value) Output only.setLanguageCodeBytes(com.google.protobuf.ByteString value) Output only.setRegionCode(String value) Output only.setRegionCodeBytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Output only.setValueBytes(com.google.protobuf.ByteString value) Output only.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, 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
-
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 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:
IOException
-
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
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
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
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
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
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
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
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
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>
-