Class CustomVariable.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder>
-
- com.google.ads.googleads.v10.services.CustomVariable.Builder
-
- All Implemented Interfaces:
CustomVariableOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CustomVariable
public static final class CustomVariable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder> implements CustomVariableOrBuilder
A custom variable.
Protobuf typegoogle.ads.googleads.v10.services.CustomVariable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomVariable.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomVariablebuild()CustomVariablebuildPartial()CustomVariable.Builderclear()CustomVariable.BuilderclearConversionCustomVariable()Resource name of the custom variable associated with this conversion.CustomVariable.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CustomVariable.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CustomVariable.BuilderclearValue()The value string of this custom variable.CustomVariable.Builderclone()java.lang.StringgetConversionCustomVariable()Resource name of the custom variable associated with this conversion.com.google.protobuf.ByteStringgetConversionCustomVariableBytes()Resource name of the custom variable associated with this conversion.CustomVariablegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetValue()The value string of this custom variable.com.google.protobuf.ByteStringgetValueBytes()The value string of this custom variable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CustomVariable.BuildermergeFrom(CustomVariable other)CustomVariable.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CustomVariable.BuildermergeFrom(com.google.protobuf.Message other)CustomVariable.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomVariable.BuildersetConversionCustomVariable(java.lang.String value)Resource name of the custom variable associated with this conversion.CustomVariable.BuildersetConversionCustomVariableBytes(com.google.protobuf.ByteString value)Resource name of the custom variable associated with this conversion.CustomVariable.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomVariable.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CustomVariable.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomVariable.BuildersetValue(java.lang.String value)The value string of this custom variable.CustomVariable.BuildersetValueBytes(com.google.protobuf.ByteString value)The value string of this custom variable.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<CustomVariable.Builder>
-
clear
public CustomVariable.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<CustomVariable.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<CustomVariable.Builder>
-
getDefaultInstanceForType
public CustomVariable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomVariable build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomVariable buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomVariable.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<CustomVariable.Builder>
-
setField
public CustomVariable.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<CustomVariable.Builder>
-
clearField
public CustomVariable.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder>
-
clearOneof
public CustomVariable.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder>
-
setRepeatedField
public CustomVariable.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<CustomVariable.Builder>
-
addRepeatedField
public CustomVariable.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<CustomVariable.Builder>
-
mergeFrom
public CustomVariable.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomVariable.Builder>
-
mergeFrom
public CustomVariable.Builder mergeFrom(CustomVariable other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder>
-
mergeFrom
public CustomVariable.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<CustomVariable.Builder>- Throws:
java.io.IOException
-
getConversionCustomVariable
public java.lang.String getConversionCustomVariable()
Resource name of the custom variable associated with this conversion. Note: Although this resource name consists of a customer id and a conversion custom variable id, validation will ignore the customer id and use the conversion custom variable id as the sole identifier of the conversion custom variable.
string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getConversionCustomVariablein interfaceCustomVariableOrBuilder- Returns:
- The conversionCustomVariable.
-
getConversionCustomVariableBytes
public com.google.protobuf.ByteString getConversionCustomVariableBytes()
Resource name of the custom variable associated with this conversion. Note: Although this resource name consists of a customer id and a conversion custom variable id, validation will ignore the customer id and use the conversion custom variable id as the sole identifier of the conversion custom variable.
string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getConversionCustomVariableBytesin interfaceCustomVariableOrBuilder- Returns:
- The bytes for conversionCustomVariable.
-
setConversionCustomVariable
public CustomVariable.Builder setConversionCustomVariable(java.lang.String value)
Resource name of the custom variable associated with this conversion. Note: Although this resource name consists of a customer id and a conversion custom variable id, validation will ignore the customer id and use the conversion custom variable id as the sole identifier of the conversion custom variable.
string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The conversionCustomVariable to set.- Returns:
- This builder for chaining.
-
clearConversionCustomVariable
public CustomVariable.Builder clearConversionCustomVariable()
Resource name of the custom variable associated with this conversion. Note: Although this resource name consists of a customer id and a conversion custom variable id, validation will ignore the customer id and use the conversion custom variable id as the sole identifier of the conversion custom variable.
string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setConversionCustomVariableBytes
public CustomVariable.Builder setConversionCustomVariableBytes(com.google.protobuf.ByteString value)
Resource name of the custom variable associated with this conversion. Note: Although this resource name consists of a customer id and a conversion custom variable id, validation will ignore the customer id and use the conversion custom variable id as the sole identifier of the conversion custom variable.
string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for conversionCustomVariable to set.- Returns:
- This builder for chaining.
-
getValue
public java.lang.String getValue()
The value string of this custom variable. The value of the custom variable should not contain private customer data, such as email addresses or phone numbers.
string value = 2;- Specified by:
getValuein interfaceCustomVariableOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
The value string of this custom variable. The value of the custom variable should not contain private customer data, such as email addresses or phone numbers.
string value = 2;- Specified by:
getValueBytesin interfaceCustomVariableOrBuilder- Returns:
- The bytes for value.
-
setValue
public CustomVariable.Builder setValue(java.lang.String value)
The value string of this custom variable. The value of the custom variable should not contain private customer data, such as email addresses or phone numbers.
string value = 2;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public CustomVariable.Builder clearValue()
The value string of this custom variable. The value of the custom variable should not contain private customer data, such as email addresses or phone numbers.
string value = 2;- Returns:
- This builder for chaining.
-
setValueBytes
public CustomVariable.Builder setValueBytes(com.google.protobuf.ByteString value)
The value string of this custom variable. The value of the custom variable should not contain private customer data, such as email addresses or phone numbers.
string value = 2;- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomVariable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder>
-
mergeUnknownFields
public final CustomVariable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomVariable.Builder>
-
-