public final class ProductsCustomBatchRequestEntry
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ProductsCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
ProductsCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
BigInteger |
getFeedId()
The Content API Supplemental Feed ID.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getMethod()
The method of the batch entry.
|
Product |
getProduct()
The product to insert or update.
|
String |
getProductId()
The ID of the product to get or mutate.
|
String |
getUpdateMask()
The comma-separated list of product attributes to be updated.
|
ProductsCustomBatchRequestEntry |
set(String fieldName,
Object value) |
ProductsCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
ProductsCustomBatchRequestEntry |
setFeedId(BigInteger feedId)
The Content API Supplemental Feed ID.
|
ProductsCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
ProductsCustomBatchRequestEntry |
setMethod(String method)
The method of the batch entry.
|
ProductsCustomBatchRequestEntry |
setProduct(Product product)
The product to insert or update.
|
ProductsCustomBatchRequestEntry |
setProductId(String productId)
The ID of the product to get or mutate.
|
ProductsCustomBatchRequestEntry |
setUpdateMask(String updateMask)
The comma-separated list of product attributes to be updated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getBatchId()
null
for nonepublic ProductsCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic BigInteger getFeedId()
null
for nonepublic ProductsCustomBatchRequestEntry setFeedId(BigInteger feedId)
feedId
- feedId or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic ProductsCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getMethod()
null
for nonepublic ProductsCustomBatchRequestEntry setMethod(String method)
method
- method or null
for nonepublic Product getProduct()
null
for nonepublic ProductsCustomBatchRequestEntry setProduct(Product product)
product
- product or null
for nonepublic String getProductId()
null
for nonepublic ProductsCustomBatchRequestEntry setProductId(String productId)
productId
- productId or null
for nonepublic String getUpdateMask()
null
for nonepublic ProductsCustomBatchRequestEntry setUpdateMask(String updateMask)
updateMask
- updateMask or null
for nonepublic ProductsCustomBatchRequestEntry set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ProductsCustomBatchRequestEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.