public final class DatafeedsCustomBatchRequestEntry
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 |
---|
DatafeedsCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
DatafeedsCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
Datafeed |
getDatafeed()
The data feed to insert.
|
BigInteger |
getDatafeedId()
The ID of the data feed to get, delete or fetch.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getMethod()
The method of the batch entry.
|
DatafeedsCustomBatchRequestEntry |
set(String fieldName,
Object value) |
DatafeedsCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
DatafeedsCustomBatchRequestEntry |
setDatafeed(Datafeed datafeed)
The data feed to insert.
|
DatafeedsCustomBatchRequestEntry |
setDatafeedId(BigInteger datafeedId)
The ID of the data feed to get, delete or fetch.
|
DatafeedsCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
DatafeedsCustomBatchRequestEntry |
setMethod(String method)
The method of the batch entry.
|
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 DatafeedsCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic Datafeed getDatafeed()
null
for nonepublic DatafeedsCustomBatchRequestEntry setDatafeed(Datafeed datafeed)
datafeed
- datafeed or null
for nonepublic BigInteger getDatafeedId()
null
for nonepublic DatafeedsCustomBatchRequestEntry setDatafeedId(BigInteger datafeedId)
datafeedId
- datafeedId or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic DatafeedsCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getMethod()
null
for nonepublic DatafeedsCustomBatchRequestEntry setMethod(String method)
method
- method or null
for nonepublic DatafeedsCustomBatchRequestEntry set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DatafeedsCustomBatchRequestEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.