Class ConversionAction.ValueSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
com.google.ads.googleads.v18.resources.ConversionAction.ValueSettings.Builder
- All Implemented Interfaces:
ConversionAction.ValueSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversionAction.ValueSettings
public static final class ConversionAction.ValueSettings.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
implements ConversionAction.ValueSettingsOrBuilder
Settings related to the value for conversion events associated with this conversion action.Protobuf type
google.ads.googleads.v18.resources.ConversionAction.ValueSettings-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleanControls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.com.google.protobuf.ByteStringThe currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.doubleThe value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanControls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.booleanThe currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.booleanThe value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.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) setAlwaysUseDefaultValue(boolean value) Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.setDefaultCurrencyCode(String value) The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.setDefaultCurrencyCodeBytes(com.google.protobuf.ByteString value) The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.setDefaultValue(double value) The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, 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<ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.Builder>
-
setField
public ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.Builder>
-
clearField
public ConversionAction.ValueSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
-
clearOneof
public ConversionAction.ValueSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
-
setRepeatedField
public ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.Builder>
-
addRepeatedField
public ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAction.ValueSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
-
mergeFrom
public ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.Builder>- Throws:
IOException
-
hasDefaultValue
public boolean hasDefaultValue()The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.
optional double default_value = 4;- Specified by:
hasDefaultValuein interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
public double getDefaultValue()The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.
optional double default_value = 4;- Specified by:
getDefaultValuein interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- The defaultValue.
-
setDefaultValue
The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.
optional double default_value = 4;- Parameters:
value- The defaultValue to set.- Returns:
- This builder for chaining.
-
clearDefaultValue
The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.
optional double default_value = 4;- Returns:
- This builder for chaining.
-
hasDefaultCurrencyCode
public boolean hasDefaultCurrencyCode()The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
optional string default_currency_code = 5;- Specified by:
hasDefaultCurrencyCodein interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- Whether the defaultCurrencyCode field is set.
-
getDefaultCurrencyCode
The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
optional string default_currency_code = 5;- Specified by:
getDefaultCurrencyCodein interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- The defaultCurrencyCode.
-
getDefaultCurrencyCodeBytes
public com.google.protobuf.ByteString getDefaultCurrencyCodeBytes()The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
optional string default_currency_code = 5;- Specified by:
getDefaultCurrencyCodeBytesin interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- The bytes for defaultCurrencyCode.
-
setDefaultCurrencyCode
The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
optional string default_currency_code = 5;- Parameters:
value- The defaultCurrencyCode to set.- Returns:
- This builder for chaining.
-
clearDefaultCurrencyCode
The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
optional string default_currency_code = 5;- Returns:
- This builder for chaining.
-
setDefaultCurrencyCodeBytes
public ConversionAction.ValueSettings.Builder setDefaultCurrencyCodeBytes(com.google.protobuf.ByteString value) The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
optional string default_currency_code = 5;- Parameters:
value- The bytes for defaultCurrencyCode to set.- Returns:
- This builder for chaining.
-
hasAlwaysUseDefaultValue
public boolean hasAlwaysUseDefaultValue()Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.
optional bool always_use_default_value = 6;- Specified by:
hasAlwaysUseDefaultValuein interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- Whether the alwaysUseDefaultValue field is set.
-
getAlwaysUseDefaultValue
public boolean getAlwaysUseDefaultValue()Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.
optional bool always_use_default_value = 6;- Specified by:
getAlwaysUseDefaultValuein interfaceConversionAction.ValueSettingsOrBuilder- Returns:
- The alwaysUseDefaultValue.
-
setAlwaysUseDefaultValue
Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.
optional bool always_use_default_value = 6;- Parameters:
value- The alwaysUseDefaultValue to set.- Returns:
- This builder for chaining.
-
clearAlwaysUseDefaultValue
Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.
optional bool always_use_default_value = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConversionAction.ValueSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
-
mergeUnknownFields
public final ConversionAction.ValueSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.ValueSettings.Builder>
-