target.apidocs.com.google.api.services.content.model.DatafeedsCustomBatchRequestEntry.html Maven / Gradle / Ivy
DatafeedsCustomBatchRequestEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class DatafeedsCustomBatchRequestEntry
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.DatafeedsCustomBatchRequestEntry
-
public final class DatafeedsCustomBatchRequestEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch datafeeds request.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DatafeedsCustomBatchRequestEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBatchId
public Long getBatchId()
An entry ID, unique within the batch request.
- Returns:
- value or
null
for none
-
setBatchId
public DatafeedsCustomBatchRequestEntry setBatchId(Long batchId)
An entry ID, unique within the batch request.
- Parameters:
batchId
- batchId or null
for none
-
getDatafeed
public Datafeed getDatafeed()
The data feed to insert.
- Returns:
- value or
null
for none
-
setDatafeed
public DatafeedsCustomBatchRequestEntry setDatafeed(Datafeed datafeed)
The data feed to insert.
- Parameters:
datafeed
- datafeed or null
for none
-
getDatafeedId
public BigInteger getDatafeedId()
The ID of the data feed to get, delete or fetch.
- Returns:
- value or
null
for none
-
setDatafeedId
public DatafeedsCustomBatchRequestEntry setDatafeedId(BigInteger datafeedId)
The ID of the data feed to get, delete or fetch.
- Parameters:
datafeedId
- datafeedId or null
for none
-
getMerchantId
public BigInteger getMerchantId()
The ID of the managing account.
- Returns:
- value or
null
for none
-
setMerchantId
public DatafeedsCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
The ID of the managing account.
- Parameters:
merchantId
- merchantId or null
for none
-
getMethod
public String getMethod()
The method of the batch entry. Acceptable values are: - "`delete`" - "`fetchNow`" - "`get`" -
"`insert`" - "`update`"
- Returns:
- value or
null
for none
-
setMethod
public DatafeedsCustomBatchRequestEntry setMethod(String method)
The method of the batch entry. Acceptable values are: - "`delete`" - "`fetchNow`" - "`get`" -
"`insert`" - "`update`"
- Parameters:
method
- method or null
for none
-
set
public DatafeedsCustomBatchRequestEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DatafeedsCustomBatchRequestEntry clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy