Class TransactionAttribute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
- com.google.ads.googleads.v14.common.TransactionAttribute.Builder
-
- All Implemented Interfaces:
TransactionAttributeOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TransactionAttribute
public static final class TransactionAttribute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder> implements TransactionAttributeOrBuilder
Attribute of the store sales transaction.
Protobuf typegoogle.ads.googleads.v14.common.TransactionAttribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionAttribute.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionAttribute
build()
TransactionAttribute
buildPartial()
TransactionAttribute.Builder
clear()
TransactionAttribute.Builder
clearConversionAction()
The resource name of conversion action to report conversions to.TransactionAttribute.Builder
clearCurrencyCode()
Transaction currency code.TransactionAttribute.Builder
clearCustomValue()
Value of the custom variable for each transaction.TransactionAttribute.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransactionAttribute.Builder
clearItemAttribute()
Item attributes of the transaction.TransactionAttribute.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransactionAttribute.Builder
clearOrderId()
Transaction order id.TransactionAttribute.Builder
clearStoreAttribute()
Store attributes of the transaction.TransactionAttribute.Builder
clearTransactionAmountMicros()
Transaction amount in micros.TransactionAttribute.Builder
clearTransactionDateTime()
Timestamp when transaction occurred.TransactionAttribute.Builder
clone()
java.lang.String
getConversionAction()
The resource name of conversion action to report conversions to.com.google.protobuf.ByteString
getConversionActionBytes()
The resource name of conversion action to report conversions to.java.lang.String
getCurrencyCode()
Transaction currency code.com.google.protobuf.ByteString
getCurrencyCodeBytes()
Transaction currency code.java.lang.String
getCustomValue()
Value of the custom variable for each transaction.com.google.protobuf.ByteString
getCustomValueBytes()
Value of the custom variable for each transaction.TransactionAttribute
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ItemAttribute
getItemAttribute()
Item attributes of the transaction.ItemAttribute.Builder
getItemAttributeBuilder()
Item attributes of the transaction.ItemAttributeOrBuilder
getItemAttributeOrBuilder()
Item attributes of the transaction.java.lang.String
getOrderId()
Transaction order id.com.google.protobuf.ByteString
getOrderIdBytes()
Transaction order id.StoreAttribute
getStoreAttribute()
Store attributes of the transaction.StoreAttribute.Builder
getStoreAttributeBuilder()
Store attributes of the transaction.StoreAttributeOrBuilder
getStoreAttributeOrBuilder()
Store attributes of the transaction.double
getTransactionAmountMicros()
Transaction amount in micros.java.lang.String
getTransactionDateTime()
Timestamp when transaction occurred.com.google.protobuf.ByteString
getTransactionDateTimeBytes()
Timestamp when transaction occurred.boolean
hasConversionAction()
The resource name of conversion action to report conversions to.boolean
hasCurrencyCode()
Transaction currency code.boolean
hasCustomValue()
Value of the custom variable for each transaction.boolean
hasItemAttribute()
Item attributes of the transaction.boolean
hasOrderId()
Transaction order id.boolean
hasStoreAttribute()
Store attributes of the transaction.boolean
hasTransactionAmountMicros()
Transaction amount in micros.boolean
hasTransactionDateTime()
Timestamp when transaction occurred.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransactionAttribute.Builder
mergeFrom(TransactionAttribute other)
TransactionAttribute.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransactionAttribute.Builder
mergeFrom(com.google.protobuf.Message other)
TransactionAttribute.Builder
mergeItemAttribute(ItemAttribute value)
Item attributes of the transaction.TransactionAttribute.Builder
mergeStoreAttribute(StoreAttribute value)
Store attributes of the transaction.TransactionAttribute.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransactionAttribute.Builder
setConversionAction(java.lang.String value)
The resource name of conversion action to report conversions to.TransactionAttribute.Builder
setConversionActionBytes(com.google.protobuf.ByteString value)
The resource name of conversion action to report conversions to.TransactionAttribute.Builder
setCurrencyCode(java.lang.String value)
Transaction currency code.TransactionAttribute.Builder
setCurrencyCodeBytes(com.google.protobuf.ByteString value)
Transaction currency code.TransactionAttribute.Builder
setCustomValue(java.lang.String value)
Value of the custom variable for each transaction.TransactionAttribute.Builder
setCustomValueBytes(com.google.protobuf.ByteString value)
Value of the custom variable for each transaction.TransactionAttribute.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionAttribute.Builder
setItemAttribute(ItemAttribute value)
Item attributes of the transaction.TransactionAttribute.Builder
setItemAttribute(ItemAttribute.Builder builderForValue)
Item attributes of the transaction.TransactionAttribute.Builder
setOrderId(java.lang.String value)
Transaction order id.TransactionAttribute.Builder
setOrderIdBytes(com.google.protobuf.ByteString value)
Transaction order id.TransactionAttribute.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TransactionAttribute.Builder
setStoreAttribute(StoreAttribute value)
Store attributes of the transaction.TransactionAttribute.Builder
setStoreAttribute(StoreAttribute.Builder builderForValue)
Store attributes of the transaction.TransactionAttribute.Builder
setTransactionAmountMicros(double value)
Transaction amount in micros.TransactionAttribute.Builder
setTransactionDateTime(java.lang.String value)
Timestamp when transaction occurred.TransactionAttribute.Builder
setTransactionDateTimeBytes(com.google.protobuf.ByteString value)
Timestamp when transaction occurred.TransactionAttribute.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
clear
public TransactionAttribute.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
getDefaultInstanceForType
public TransactionAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionAttribute build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionAttribute buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionAttribute.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
setField
public TransactionAttribute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
clearField
public TransactionAttribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
clearOneof
public TransactionAttribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
setRepeatedField
public TransactionAttribute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
addRepeatedField
public TransactionAttribute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
mergeFrom
public TransactionAttribute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionAttribute.Builder>
-
mergeFrom
public TransactionAttribute.Builder mergeFrom(TransactionAttribute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
mergeFrom
public TransactionAttribute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionAttribute.Builder>
- Throws:
java.io.IOException
-
hasTransactionDateTime
public boolean hasTransactionDateTime()
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
optional string transaction_date_time = 8;
- Specified by:
hasTransactionDateTime
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the transactionDateTime field is set.
-
getTransactionDateTime
public java.lang.String getTransactionDateTime()
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
optional string transaction_date_time = 8;
- Specified by:
getTransactionDateTime
in interfaceTransactionAttributeOrBuilder
- Returns:
- The transactionDateTime.
-
getTransactionDateTimeBytes
public com.google.protobuf.ByteString getTransactionDateTimeBytes()
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
optional string transaction_date_time = 8;
- Specified by:
getTransactionDateTimeBytes
in interfaceTransactionAttributeOrBuilder
- Returns:
- The bytes for transactionDateTime.
-
setTransactionDateTime
public TransactionAttribute.Builder setTransactionDateTime(java.lang.String value)
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
optional string transaction_date_time = 8;
- Parameters:
value
- The transactionDateTime to set.- Returns:
- This builder for chaining.
-
clearTransactionDateTime
public TransactionAttribute.Builder clearTransactionDateTime()
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
optional string transaction_date_time = 8;
- Returns:
- This builder for chaining.
-
setTransactionDateTimeBytes
public TransactionAttribute.Builder setTransactionDateTimeBytes(com.google.protobuf.ByteString value)
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
optional string transaction_date_time = 8;
- Parameters:
value
- The bytes for transactionDateTime to set.- Returns:
- This builder for chaining.
-
hasTransactionAmountMicros
public boolean hasTransactionAmountMicros()
Transaction amount in micros. Required. Transaction amount in micros needs to be greater than 1000. If item Attributes are provided, it represents the total value of the items, after multiplying the unit price per item by the quantity provided in the ItemAttributes.
optional double transaction_amount_micros = 9;
- Specified by:
hasTransactionAmountMicros
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the transactionAmountMicros field is set.
-
getTransactionAmountMicros
public double getTransactionAmountMicros()
Transaction amount in micros. Required. Transaction amount in micros needs to be greater than 1000. If item Attributes are provided, it represents the total value of the items, after multiplying the unit price per item by the quantity provided in the ItemAttributes.
optional double transaction_amount_micros = 9;
- Specified by:
getTransactionAmountMicros
in interfaceTransactionAttributeOrBuilder
- Returns:
- The transactionAmountMicros.
-
setTransactionAmountMicros
public TransactionAttribute.Builder setTransactionAmountMicros(double value)
Transaction amount in micros. Required. Transaction amount in micros needs to be greater than 1000. If item Attributes are provided, it represents the total value of the items, after multiplying the unit price per item by the quantity provided in the ItemAttributes.
optional double transaction_amount_micros = 9;
- Parameters:
value
- The transactionAmountMicros to set.- Returns:
- This builder for chaining.
-
clearTransactionAmountMicros
public TransactionAttribute.Builder clearTransactionAmountMicros()
Transaction amount in micros. Required. Transaction amount in micros needs to be greater than 1000. If item Attributes are provided, it represents the total value of the items, after multiplying the unit price per item by the quantity provided in the ItemAttributes.
optional double transaction_amount_micros = 9;
- Returns:
- This builder for chaining.
-
hasCurrencyCode
public boolean hasCurrencyCode()
Transaction currency code. ISO 4217 three-letter code is used. Required.
optional string currency_code = 10;
- Specified by:
hasCurrencyCode
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
public java.lang.String getCurrencyCode()
Transaction currency code. ISO 4217 three-letter code is used. Required.
optional string currency_code = 10;
- Specified by:
getCurrencyCode
in interfaceTransactionAttributeOrBuilder
- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()
Transaction currency code. ISO 4217 three-letter code is used. Required.
optional string currency_code = 10;
- Specified by:
getCurrencyCodeBytes
in interfaceTransactionAttributeOrBuilder
- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
public TransactionAttribute.Builder setCurrencyCode(java.lang.String value)
Transaction currency code. ISO 4217 three-letter code is used. Required.
optional string currency_code = 10;
- Parameters:
value
- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
public TransactionAttribute.Builder clearCurrencyCode()
Transaction currency code. ISO 4217 three-letter code is used. Required.
optional string currency_code = 10;
- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
public TransactionAttribute.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
Transaction currency code. ISO 4217 three-letter code is used. Required.
optional string currency_code = 10;
- Parameters:
value
- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasConversionAction
public boolean hasConversionAction()
The resource name of conversion action to report conversions to. Required.
optional string conversion_action = 11;
- Specified by:
hasConversionAction
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the conversionAction field is set.
-
getConversionAction
public java.lang.String getConversionAction()
The resource name of conversion action to report conversions to. Required.
optional string conversion_action = 11;
- Specified by:
getConversionAction
in interfaceTransactionAttributeOrBuilder
- Returns:
- The conversionAction.
-
getConversionActionBytes
public com.google.protobuf.ByteString getConversionActionBytes()
The resource name of conversion action to report conversions to. Required.
optional string conversion_action = 11;
- Specified by:
getConversionActionBytes
in interfaceTransactionAttributeOrBuilder
- Returns:
- The bytes for conversionAction.
-
setConversionAction
public TransactionAttribute.Builder setConversionAction(java.lang.String value)
The resource name of conversion action to report conversions to. Required.
optional string conversion_action = 11;
- Parameters:
value
- The conversionAction to set.- Returns:
- This builder for chaining.
-
clearConversionAction
public TransactionAttribute.Builder clearConversionAction()
The resource name of conversion action to report conversions to. Required.
optional string conversion_action = 11;
- Returns:
- This builder for chaining.
-
setConversionActionBytes
public TransactionAttribute.Builder setConversionActionBytes(com.google.protobuf.ByteString value)
The resource name of conversion action to report conversions to. Required.
optional string conversion_action = 11;
- Parameters:
value
- The bytes for conversionAction to set.- Returns:
- This builder for chaining.
-
hasOrderId
public boolean hasOrderId()
Transaction order id. Accessible only to customers on the allow-list.
optional string order_id = 12;
- Specified by:
hasOrderId
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the orderId field is set.
-
getOrderId
public java.lang.String getOrderId()
Transaction order id. Accessible only to customers on the allow-list.
optional string order_id = 12;
- Specified by:
getOrderId
in interfaceTransactionAttributeOrBuilder
- Returns:
- The orderId.
-
getOrderIdBytes
public com.google.protobuf.ByteString getOrderIdBytes()
Transaction order id. Accessible only to customers on the allow-list.
optional string order_id = 12;
- Specified by:
getOrderIdBytes
in interfaceTransactionAttributeOrBuilder
- Returns:
- The bytes for orderId.
-
setOrderId
public TransactionAttribute.Builder setOrderId(java.lang.String value)
Transaction order id. Accessible only to customers on the allow-list.
optional string order_id = 12;
- Parameters:
value
- The orderId to set.- Returns:
- This builder for chaining.
-
clearOrderId
public TransactionAttribute.Builder clearOrderId()
Transaction order id. Accessible only to customers on the allow-list.
optional string order_id = 12;
- Returns:
- This builder for chaining.
-
setOrderIdBytes
public TransactionAttribute.Builder setOrderIdBytes(com.google.protobuf.ByteString value)
Transaction order id. Accessible only to customers on the allow-list.
optional string order_id = 12;
- Parameters:
value
- The bytes for orderId to set.- Returns:
- This builder for chaining.
-
hasStoreAttribute
public boolean hasStoreAttribute()
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
- Specified by:
hasStoreAttribute
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the storeAttribute field is set.
-
getStoreAttribute
public StoreAttribute getStoreAttribute()
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
- Specified by:
getStoreAttribute
in interfaceTransactionAttributeOrBuilder
- Returns:
- The storeAttribute.
-
setStoreAttribute
public TransactionAttribute.Builder setStoreAttribute(StoreAttribute value)
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
-
setStoreAttribute
public TransactionAttribute.Builder setStoreAttribute(StoreAttribute.Builder builderForValue)
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
-
mergeStoreAttribute
public TransactionAttribute.Builder mergeStoreAttribute(StoreAttribute value)
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
-
clearStoreAttribute
public TransactionAttribute.Builder clearStoreAttribute()
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
-
getStoreAttributeBuilder
public StoreAttribute.Builder getStoreAttributeBuilder()
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
-
getStoreAttributeOrBuilder
public StoreAttributeOrBuilder getStoreAttributeOrBuilder()
Store attributes of the transaction. Accessible only to customers on the allow-list.
.google.ads.googleads.v14.common.StoreAttribute store_attribute = 6;
- Specified by:
getStoreAttributeOrBuilder
in interfaceTransactionAttributeOrBuilder
-
hasCustomValue
public boolean hasCustomValue()
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
optional string custom_value = 13;
- Specified by:
hasCustomValue
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the customValue field is set.
-
getCustomValue
public java.lang.String getCustomValue()
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
optional string custom_value = 13;
- Specified by:
getCustomValue
in interfaceTransactionAttributeOrBuilder
- Returns:
- The customValue.
-
getCustomValueBytes
public com.google.protobuf.ByteString getCustomValueBytes()
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
optional string custom_value = 13;
- Specified by:
getCustomValueBytes
in interfaceTransactionAttributeOrBuilder
- Returns:
- The bytes for customValue.
-
setCustomValue
public TransactionAttribute.Builder setCustomValue(java.lang.String value)
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
optional string custom_value = 13;
- Parameters:
value
- The customValue to set.- Returns:
- This builder for chaining.
-
clearCustomValue
public TransactionAttribute.Builder clearCustomValue()
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
optional string custom_value = 13;
- Returns:
- This builder for chaining.
-
setCustomValueBytes
public TransactionAttribute.Builder setCustomValueBytes(com.google.protobuf.ByteString value)
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
optional string custom_value = 13;
- Parameters:
value
- The bytes for customValue to set.- Returns:
- This builder for chaining.
-
hasItemAttribute
public boolean hasItemAttribute()
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
- Specified by:
hasItemAttribute
in interfaceTransactionAttributeOrBuilder
- Returns:
- Whether the itemAttribute field is set.
-
getItemAttribute
public ItemAttribute getItemAttribute()
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
- Specified by:
getItemAttribute
in interfaceTransactionAttributeOrBuilder
- Returns:
- The itemAttribute.
-
setItemAttribute
public TransactionAttribute.Builder setItemAttribute(ItemAttribute value)
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
-
setItemAttribute
public TransactionAttribute.Builder setItemAttribute(ItemAttribute.Builder builderForValue)
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
-
mergeItemAttribute
public TransactionAttribute.Builder mergeItemAttribute(ItemAttribute value)
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
-
clearItemAttribute
public TransactionAttribute.Builder clearItemAttribute()
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
-
getItemAttributeBuilder
public ItemAttribute.Builder getItemAttributeBuilder()
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
-
getItemAttributeOrBuilder
public ItemAttributeOrBuilder getItemAttributeOrBuilder()
Item attributes of the transaction.
.google.ads.googleads.v14.common.ItemAttribute item_attribute = 14;
- Specified by:
getItemAttributeOrBuilder
in interfaceTransactionAttributeOrBuilder
-
setUnknownFields
public final TransactionAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
mergeUnknownFields
public final TransactionAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
-