Class TransactionAttribute
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.TransactionAttribute
-
- All Implemented Interfaces:
TransactionAttributeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class TransactionAttribute extends com.google.protobuf.GeneratedMessageV3 implements TransactionAttributeOrBuilder
Attribute of the store sales transaction.
Protobuf typegoogle.ads.googleads.v10.common.TransactionAttribute- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionAttribute.BuilderAttribute of the store sales transaction.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONVERSION_ACTION_FIELD_NUMBERstatic intCURRENCY_CODE_FIELD_NUMBERstatic intCUSTOM_VALUE_FIELD_NUMBERstatic intITEM_ATTRIBUTE_FIELD_NUMBERstatic intORDER_ID_FIELD_NUMBERstatic intSTORE_ATTRIBUTE_FIELD_NUMBERstatic intTRANSACTION_AMOUNT_MICROS_FIELD_NUMBERstatic intTRANSACTION_DATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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.static TransactionAttributegetDefaultInstance()TransactionAttributegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ItemAttributegetItemAttribute()Item attributes of the transaction.ItemAttributeOrBuildergetItemAttributeOrBuilder()Item attributes of the transaction.java.lang.StringgetOrderId()Transaction order id.com.google.protobuf.ByteStringgetOrderIdBytes()Transaction order id.com.google.protobuf.Parser<TransactionAttribute>getParserForType()intgetSerializedSize()StoreAttributegetStoreAttribute()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.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConversionAction()The resource name of conversion action to report conversions to.booleanhasCurrencyCode()Transaction currency code.booleanhasCustomValue()Value of the custom variable for each transaction.inthashCode()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()static TransactionAttribute.BuildernewBuilder()static TransactionAttribute.BuildernewBuilder(TransactionAttribute prototype)TransactionAttribute.BuildernewBuilderForType()protected TransactionAttribute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TransactionAttributeparseDelimitedFrom(java.io.InputStream input)static TransactionAttributeparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionAttributeparseFrom(byte[] data)static TransactionAttributeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionAttributeparseFrom(com.google.protobuf.ByteString data)static TransactionAttributeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionAttributeparseFrom(com.google.protobuf.CodedInputStream input)static TransactionAttributeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionAttributeparseFrom(java.io.InputStream input)static TransactionAttributeparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionAttributeparseFrom(java.nio.ByteBuffer data)static TransactionAttributeparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TransactionAttribute>parser()TransactionAttribute.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSACTION_DATE_TIME_FIELD_NUMBER
public static final int TRANSACTION_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSACTION_AMOUNT_MICROS_FIELD_NUMBER
public static final int TRANSACTION_AMOUNT_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSION_ACTION_FIELD_NUMBER
public static final int CONVERSION_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDER_ID_FIELD_NUMBER
public static final int ORDER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STORE_ATTRIBUTE_FIELD_NUMBER
public static final int STORE_ATTRIBUTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_VALUE_FIELD_NUMBER
public static final int CUSTOM_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ITEM_ATTRIBUTE_FIELD_NUMBER
public static final int ITEM_ATTRIBUTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getItemAttributeOrBuilder
public ItemAttributeOrBuilder getItemAttributeOrBuilder()
Item attributes of the transaction.
.google.ads.googleads.v10.common.ItemAttribute item_attribute = 14;- Specified by:
getItemAttributeOrBuilderin interfaceTransactionAttributeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransactionAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionAttribute parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionAttribute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionAttribute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionAttribute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionAttribute parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TransactionAttribute parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TransactionAttribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TransactionAttribute parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TransactionAttribute parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TransactionAttribute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public TransactionAttribute.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransactionAttribute.Builder newBuilder()
-
newBuilder
public static TransactionAttribute.Builder newBuilder(TransactionAttribute prototype)
-
toBuilder
public TransactionAttribute.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransactionAttribute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransactionAttribute getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransactionAttribute> parser()
-
getParserForType
public com.google.protobuf.Parser<TransactionAttribute> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransactionAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-