Class TransactionAttribute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
- com.google.ads.googleads.v10.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.v10.common.TransactionAttribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionAttribute.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionAttributebuild()TransactionAttributebuildPartial()TransactionAttribute.Builderclear()TransactionAttribute.BuilderclearConversionAction()The resource name of conversion action to report conversions to.TransactionAttribute.BuilderclearCurrencyCode()Transaction currency code.TransactionAttribute.BuilderclearCustomValue()Value of the custom variable for each transaction.TransactionAttribute.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransactionAttribute.BuilderclearItemAttribute()Item attributes of the transaction.TransactionAttribute.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransactionAttribute.BuilderclearOrderId()Transaction order id.TransactionAttribute.BuilderclearStoreAttribute()Store attributes of the transaction.TransactionAttribute.BuilderclearTransactionAmountMicros()Transaction amount in micros.TransactionAttribute.BuilderclearTransactionDateTime()Timestamp when transaction occurred.TransactionAttribute.Builderclone()java.lang.StringgetConversionAction()The resource name of conversion action to report conversions to.com.google.protobuf.ByteStringgetConversionActionBytes()The resource name of conversion action to report conversions to.java.lang.StringgetCurrencyCode()Transaction currency code.com.google.protobuf.ByteStringgetCurrencyCodeBytes()Transaction currency code.java.lang.StringgetCustomValue()Value of the custom variable for each transaction.com.google.protobuf.ByteStringgetCustomValueBytes()Value of the custom variable for each transaction.TransactionAttributegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ItemAttributegetItemAttribute()Item attributes of the transaction.ItemAttribute.BuildergetItemAttributeBuilder()Item attributes of the transaction.ItemAttributeOrBuildergetItemAttributeOrBuilder()Item attributes of the transaction.java.lang.StringgetOrderId()Transaction order id.com.google.protobuf.ByteStringgetOrderIdBytes()Transaction order id.StoreAttributegetStoreAttribute()Store attributes of the transaction.StoreAttribute.BuildergetStoreAttributeBuilder()Store attributes of the transaction.StoreAttributeOrBuildergetStoreAttributeOrBuilder()Store attributes of the transaction.doublegetTransactionAmountMicros()Transaction amount in micros.java.lang.StringgetTransactionDateTime()Timestamp when transaction occurred.com.google.protobuf.ByteStringgetTransactionDateTimeBytes()Timestamp when transaction occurred.booleanhasConversionAction()The resource name of conversion action to report conversions to.booleanhasCurrencyCode()Transaction currency code.booleanhasCustomValue()Value of the custom variable for each transaction.booleanhasItemAttribute()Item attributes of the transaction.booleanhasOrderId()Transaction order id.booleanhasStoreAttribute()Store attributes of the transaction.booleanhasTransactionAmountMicros()Transaction amount in micros.booleanhasTransactionDateTime()Timestamp when transaction occurred.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransactionAttribute.BuildermergeFrom(TransactionAttribute other)TransactionAttribute.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransactionAttribute.BuildermergeFrom(com.google.protobuf.Message other)TransactionAttribute.BuildermergeItemAttribute(ItemAttribute value)Item attributes of the transaction.TransactionAttribute.BuildermergeStoreAttribute(StoreAttribute value)Store attributes of the transaction.TransactionAttribute.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransactionAttribute.BuildersetConversionAction(java.lang.String value)The resource name of conversion action to report conversions to.TransactionAttribute.BuildersetConversionActionBytes(com.google.protobuf.ByteString value)The resource name of conversion action to report conversions to.TransactionAttribute.BuildersetCurrencyCode(java.lang.String value)Transaction currency code.TransactionAttribute.BuildersetCurrencyCodeBytes(com.google.protobuf.ByteString value)Transaction currency code.TransactionAttribute.BuildersetCustomValue(java.lang.String value)Value of the custom variable for each transaction.TransactionAttribute.BuildersetCustomValueBytes(com.google.protobuf.ByteString value)Value of the custom variable for each transaction.TransactionAttribute.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionAttribute.BuildersetItemAttribute(ItemAttribute value)Item attributes of the transaction.TransactionAttribute.BuildersetItemAttribute(ItemAttribute.Builder builderForValue)Item attributes of the transaction.TransactionAttribute.BuildersetOrderId(java.lang.String value)Transaction order id.TransactionAttribute.BuildersetOrderIdBytes(com.google.protobuf.ByteString value)Transaction order id.TransactionAttribute.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TransactionAttribute.BuildersetStoreAttribute(StoreAttribute value)Store attributes of the transaction.TransactionAttribute.BuildersetStoreAttribute(StoreAttribute.Builder builderForValue)Store attributes of the transaction.TransactionAttribute.BuildersetTransactionAmountMicros(double value)Transaction amount in micros.TransactionAttribute.BuildersetTransactionDateTime(java.lang.String value)Timestamp when transaction occurred.TransactionAttribute.BuildersetTransactionDateTimeBytes(com.google.protobuf.ByteString value)Timestamp when transaction occurred.TransactionAttribute.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<TransactionAttribute.Builder>
-
clear
public TransactionAttribute.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<TransactionAttribute.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<TransactionAttribute.Builder>
-
getDefaultInstanceForType
public TransactionAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionAttribute build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionAttribute buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionAttribute.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<TransactionAttribute.Builder>
-
setField
public TransactionAttribute.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<TransactionAttribute.Builder>
-
clearField
public TransactionAttribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
clearOneof
public TransactionAttribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
addRepeatedField
public TransactionAttribute.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<TransactionAttribute.Builder>
-
mergeFrom
public TransactionAttribute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransactionAttribute.Builder>
-
mergeFrom
public TransactionAttribute.Builder mergeFrom(TransactionAttribute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasTransactionDateTimein 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:
getTransactionDateTimein 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:
getTransactionDateTimeBytesin 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:
hasTransactionAmountMicrosin 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:
getTransactionAmountMicrosin 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:
hasCurrencyCodein 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:
getCurrencyCodein 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:
getCurrencyCodeBytesin 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:
hasConversionActionin 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:
getConversionActionin 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:
getConversionActionBytesin 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:
hasOrderIdin 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:
getOrderIdin 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:
getOrderIdBytesin 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.v10.common.StoreAttribute store_attribute = 6;- Specified by:
hasStoreAttributein 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.v10.common.StoreAttribute store_attribute = 6;- Specified by:
getStoreAttributein 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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.common.StoreAttribute store_attribute = 6;- Specified by:
getStoreAttributeOrBuilderin 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:
hasCustomValuein 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:
getCustomValuein 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:
getCustomValueBytesin 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.v10.common.ItemAttribute item_attribute = 14;- Specified by:
hasItemAttributein interfaceTransactionAttributeOrBuilder- Returns:
- Whether the itemAttribute field is set.
-
getItemAttribute
public ItemAttribute getItemAttribute()
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;- Specified by:
getItemAttributein interfaceTransactionAttributeOrBuilder- Returns:
- The itemAttribute.
-
setItemAttribute
public TransactionAttribute.Builder setItemAttribute(ItemAttribute value)
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;
-
setItemAttribute
public TransactionAttribute.Builder setItemAttribute(ItemAttribute.Builder builderForValue)
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;
-
mergeItemAttribute
public TransactionAttribute.Builder mergeItemAttribute(ItemAttribute value)
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;
-
clearItemAttribute
public TransactionAttribute.Builder clearItemAttribute()
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;
-
getItemAttributeBuilder
public ItemAttribute.Builder getItemAttributeBuilder()
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;
-
getItemAttributeOrBuilder
public ItemAttributeOrBuilder getItemAttributeOrBuilder()
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;- Specified by:
getItemAttributeOrBuilderin interfaceTransactionAttributeOrBuilder
-
setUnknownFields
public final TransactionAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
mergeUnknownFields
public final TransactionAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionAttribute.Builder>
-
-