public static final class ConversionEvent.DefaultConversionValue.Builder extends GeneratedMessageV3.Builder<ConversionEvent.DefaultConversionValue.Builder> implements ConversionEvent.DefaultConversionValueOrBuilder
Defines a default value/currency for a conversion event. Both value and
currency must be provided.
Protobuf type google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversionEvent.DefaultConversionValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConversionEvent.DefaultConversionValue build()
buildPartial()
public ConversionEvent.DefaultConversionValue buildPartial()
clear()
public ConversionEvent.DefaultConversionValue.Builder clear()
Overrides
clearCurrencyCode()
public ConversionEvent.DefaultConversionValue.Builder clearCurrencyCode()
When a conversion event for this event_name has no set currency,
this currency will be applied as the default. Must be in ISO 4217
currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for
more.
optional string currency_code = 2;
clearField(Descriptors.FieldDescriptor field)
public ConversionEvent.DefaultConversionValue.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversionEvent.DefaultConversionValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public ConversionEvent.DefaultConversionValue.Builder clearValue()
This value will be used to populate the value for all conversions
of the specified event_name where the event "value" parameter is unset.
optional double value = 1;
clone()
public ConversionEvent.DefaultConversionValue.Builder clone()
Overrides
getCurrencyCode()
public String getCurrencyCode()
When a conversion event for this event_name has no set currency,
this currency will be applied as the default. Must be in ISO 4217
currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for
more.
optional string currency_code = 2;
Returns |
---|
Type | Description |
String | The currencyCode.
|
getCurrencyCodeBytes()
public ByteString getCurrencyCodeBytes()
When a conversion event for this event_name has no set currency,
this currency will be applied as the default. Must be in ISO 4217
currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for
more.
optional string currency_code = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for currencyCode.
|
getDefaultInstanceForType()
public ConversionEvent.DefaultConversionValue getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getValue()
This value will be used to populate the value for all conversions
of the specified event_name where the event "value" parameter is unset.
optional double value = 1;
Returns |
---|
Type | Description |
double | The value.
|
hasCurrencyCode()
public boolean hasCurrencyCode()
When a conversion event for this event_name has no set currency,
this currency will be applied as the default. Must be in ISO 4217
currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for
more.
optional string currency_code = 2;
Returns |
---|
Type | Description |
boolean | Whether the currencyCode field is set.
|
hasValue()
public boolean hasValue()
This value will be used to populate the value for all conversions
of the specified event_name where the event "value" parameter is unset.
optional double value = 1;
Returns |
---|
Type | Description |
boolean | Whether the value field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConversionEvent.DefaultConversionValue other)
public ConversionEvent.DefaultConversionValue.Builder mergeFrom(ConversionEvent.DefaultConversionValue other)
public ConversionEvent.DefaultConversionValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConversionEvent.DefaultConversionValue.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversionEvent.DefaultConversionValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCurrencyCode(String value)
public ConversionEvent.DefaultConversionValue.Builder setCurrencyCode(String value)
When a conversion event for this event_name has no set currency,
this currency will be applied as the default. Must be in ISO 4217
currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for
more.
optional string currency_code = 2;
Parameter |
---|
Name | Description |
value | String
The currencyCode to set.
|
setCurrencyCodeBytes(ByteString value)
public ConversionEvent.DefaultConversionValue.Builder setCurrencyCodeBytes(ByteString value)
When a conversion event for this event_name has no set currency,
this currency will be applied as the default. Must be in ISO 4217
currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for
more.
optional string currency_code = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for currencyCode to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConversionEvent.DefaultConversionValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversionEvent.DefaultConversionValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversionEvent.DefaultConversionValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(double value)
public ConversionEvent.DefaultConversionValue.Builder setValue(double value)
This value will be used to populate the value for all conversions
of the specified event_name where the event "value" parameter is unset.
optional double value = 1;
Parameter |
---|
Name | Description |
value | double
The value to set.
|