Class KeywordThemeConstant.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder>
-
- com.google.ads.googleads.v15.resources.KeywordThemeConstant.Builder
-
- All Implemented Interfaces:
KeywordThemeConstantOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- KeywordThemeConstant
public static final class KeywordThemeConstant.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder> implements KeywordThemeConstantOrBuilder
A Smart Campaign keyword theme constant.
Protobuf typegoogle.ads.googleads.v15.resources.KeywordThemeConstant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KeywordThemeConstant.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)KeywordThemeConstantbuild()KeywordThemeConstantbuildPartial()KeywordThemeConstant.Builderclear()KeywordThemeConstant.BuilderclearCountryCode()Output only.KeywordThemeConstant.BuilderclearDisplayName()Output only.KeywordThemeConstant.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)KeywordThemeConstant.BuilderclearLanguageCode()Output only.KeywordThemeConstant.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)KeywordThemeConstant.BuilderclearResourceName()Output only.KeywordThemeConstant.Builderclone()java.lang.StringgetCountryCode()Output only.com.google.protobuf.ByteStringgetCountryCodeBytes()Output only.KeywordThemeConstantgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetDisplayName()Output only.com.google.protobuf.ByteStringgetDisplayNameBytes()Output only.java.lang.StringgetLanguageCode()Output only.com.google.protobuf.ByteStringgetLanguageCodeBytes()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.booleanhasCountryCode()Output only.booleanhasDisplayName()Output only.booleanhasLanguageCode()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()KeywordThemeConstant.BuildermergeFrom(KeywordThemeConstant other)KeywordThemeConstant.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)KeywordThemeConstant.BuildermergeFrom(com.google.protobuf.Message other)KeywordThemeConstant.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)KeywordThemeConstant.BuildersetCountryCode(java.lang.String value)Output only.KeywordThemeConstant.BuildersetCountryCodeBytes(com.google.protobuf.ByteString value)Output only.KeywordThemeConstant.BuildersetDisplayName(java.lang.String value)Output only.KeywordThemeConstant.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Output only.KeywordThemeConstant.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)KeywordThemeConstant.BuildersetLanguageCode(java.lang.String value)Output only.KeywordThemeConstant.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)Output only.KeywordThemeConstant.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)KeywordThemeConstant.BuildersetResourceName(java.lang.String value)Output only.KeywordThemeConstant.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Output only.KeywordThemeConstant.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<KeywordThemeConstant.Builder>
-
clear
public KeywordThemeConstant.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<KeywordThemeConstant.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<KeywordThemeConstant.Builder>
-
getDefaultInstanceForType
public KeywordThemeConstant getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public KeywordThemeConstant build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KeywordThemeConstant buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KeywordThemeConstant.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<KeywordThemeConstant.Builder>
-
setField
public KeywordThemeConstant.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<KeywordThemeConstant.Builder>
-
clearField
public KeywordThemeConstant.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder>
-
clearOneof
public KeywordThemeConstant.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder>
-
setRepeatedField
public KeywordThemeConstant.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<KeywordThemeConstant.Builder>
-
addRepeatedField
public KeywordThemeConstant.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<KeywordThemeConstant.Builder>
-
mergeFrom
public KeywordThemeConstant.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KeywordThemeConstant.Builder>
-
mergeFrom
public KeywordThemeConstant.Builder mergeFrom(KeywordThemeConstant other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder>
-
mergeFrom
public KeywordThemeConstant.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<KeywordThemeConstant.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Output only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceKeywordThemeConstantOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceKeywordThemeConstantOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public KeywordThemeConstant.Builder setResourceName(java.lang.String value)
Output only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_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 KeywordThemeConstant.Builder clearResourceName()
Output only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public KeywordThemeConstant.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_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.
-
hasCountryCode
public boolean hasCountryCode()
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCountryCodein interfaceKeywordThemeConstantOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
public java.lang.String getCountryCode()
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCountryCodein interfaceKeywordThemeConstantOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCountryCodeBytesin interfaceKeywordThemeConstantOrBuilder- Returns:
- The bytes for countryCode.
-
setCountryCode
public KeywordThemeConstant.Builder setCountryCode(java.lang.String value)
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The countryCode to set.- Returns:
- This builder for chaining.
-
clearCountryCode
public KeywordThemeConstant.Builder clearCountryCode()
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCountryCodeBytes
public KeywordThemeConstant.Builder setCountryCodeBytes(com.google.protobuf.ByteString value)
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for countryCode to set.- Returns:
- This builder for chaining.
-
hasLanguageCode
public boolean hasLanguageCode()
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLanguageCodein interfaceKeywordThemeConstantOrBuilder- Returns:
- Whether the languageCode field is set.
-
getLanguageCode
public java.lang.String getLanguageCode()
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLanguageCodein interfaceKeywordThemeConstantOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLanguageCodeBytesin interfaceKeywordThemeConstantOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
public KeywordThemeConstant.Builder setLanguageCode(java.lang.String value)
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public KeywordThemeConstant.Builder clearLanguageCode()
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public KeywordThemeConstant.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
hasDisplayName
public boolean hasDisplayName()
Output only. The display name of the keyword theme or sub keyword theme.
optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDisplayNamein interfaceKeywordThemeConstantOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
public java.lang.String getDisplayName()
Output only. The display name of the keyword theme or sub keyword theme.
optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceKeywordThemeConstantOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of the keyword theme or sub keyword theme.
optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceKeywordThemeConstantOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public KeywordThemeConstant.Builder setDisplayName(java.lang.String value)
Output only. The display name of the keyword theme or sub keyword theme.
optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public KeywordThemeConstant.Builder clearDisplayName()
Output only. The display name of the keyword theme or sub keyword theme.
optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public KeywordThemeConstant.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The display name of the keyword theme or sub keyword theme.
optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KeywordThemeConstant.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder>
-
mergeUnknownFields
public final KeywordThemeConstant.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordThemeConstant.Builder>
-
-