public
final
class
Item
extends
GeneratedMessageV3
implements
ItemOrBuilder
Represents an item in the cart associated with the event.
Protobuf type google.ads.datamanager.v1.Item
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ItemImplements
ItemOrBuilderStatic Fields
ADDITIONAL_ITEM_PARAMETERS_FIELD_NUMBER
public
static
final
int
ADDITIONAL_ITEM_PARAMETERS_FIELD_NUMBER
ITEM_ID_FIELD_NUMBER
public
static
final
int
ITEM_ID_FIELD_NUMBER
MERCHANT_PRODUCT_ID_FIELD_NUMBER
public
static
final
int
MERCHANT_PRODUCT_ID_FIELD_NUMBER
QUANTITY_FIELD_NUMBER
public
static
final
int
QUANTITY_FIELD_NUMBER
UNIT_PRICE_FIELD_NUMBER
public
static
final
int
UNIT_PRICE_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Item
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Item
.
Builder
newBuilder
()
newBuilder(Item prototype)
public
static
Item
.
Builder
newBuilder
(
Item
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Item
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Item
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Item
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Item
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Item
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Item
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Item
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Item
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Item
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Item
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Item
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Item
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Item>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getAdditionalItemParameters(int index)
public
ItemParameter
getAdditionalItemParameters
(
int
index
)
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getAdditionalItemParametersCount()
public
int
getAdditionalItemParametersCount
()
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getAdditionalItemParametersList()
public
List<ItemParameter>
getAdditionalItemParametersList
()
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getAdditionalItemParametersOrBuilder(int index)
public
ItemParameterOrBuilder
getAdditionalItemParametersOrBuilder
(
int
index
)
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getAdditionalItemParametersOrBuilderList()
public
List
< ?
extends
ItemParameterOrBuilder
>
getAdditionalItemParametersOrBuilderList
()
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public
Item
getDefaultInstanceForType
()
getItemId()
public
String
getItemId
()
Optional. A unique identifier to reference the item.
string item_id = 4 [(.google.api.field_behavior) = OPTIONAL];
getItemIdBytes()
public
ByteString
getItemIdBytes
()
Optional. A unique identifier to reference the item.
string item_id = 4 [(.google.api.field_behavior) = OPTIONAL];
getMerchantProductId()
public
String
getMerchantProductId
()
Optional. The product ID within the Merchant Center account.
string merchant_product_id = 1 [(.google.api.field_behavior) = OPTIONAL];
getMerchantProductIdBytes()
public
ByteString
getMerchantProductIdBytes
()
Optional. The product ID within the Merchant Center account.
string merchant_product_id = 1 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public
Parser<Item>
getParserForType
()
getQuantity()
public
long
getQuantity
()
Optional. The number of this item associated with the event.
int64 quantity = 2 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public
int
getSerializedSize
()
getUnitPrice()
public
double
getUnitPrice
()
Optional. The unit price excluding tax, shipping, and any transaction level discounts.
double unit_price = 3 [(.google.api.field_behavior) = OPTIONAL];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Item
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Item
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Item
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

