target.apidocs.com.google.api.services.content.model.DatafeedsCustomBatchResponseEntry.html Maven / Gradle / Ivy
DatafeedsCustomBatchResponseEntry (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class DatafeedsCustomBatchResponseEntry
- 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.DatafeedsCustomBatchResponseEntry
-
public final class DatafeedsCustomBatchResponseEntry
extends GenericJson
A batch entry encoding a single non-batch datafeeds response.
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
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
DatafeedsCustomBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DatafeedsCustomBatchResponseEntry
clone()
Long
getBatchId()
The ID of the request entry this entry responds to.
Datafeed
getDatafeed()
The requested data feed.
Errors
getErrors()
A list of errors defined if and only if the request failed.
DatafeedsCustomBatchResponseEntry
set(String fieldName,
Object value)
DatafeedsCustomBatchResponseEntry
setBatchId(Long batchId)
The ID of the request entry this entry responds to.
DatafeedsCustomBatchResponseEntry
setDatafeed(Datafeed datafeed)
The requested data feed.
DatafeedsCustomBatchResponseEntry
setErrors(Errors errors)
A list of errors defined if and only if the request failed.
-
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()
The ID of the request entry this entry responds to.
- Returns:
- value or
null
for none
-
setBatchId
public DatafeedsCustomBatchResponseEntry setBatchId(Long batchId)
The ID of the request entry this entry responds to.
- Parameters:
batchId
- batchId or null
for none
-
getDatafeed
public Datafeed getDatafeed()
The requested data feed. Defined if and only if the request was successful.
- Returns:
- value or
null
for none
-
setDatafeed
public DatafeedsCustomBatchResponseEntry setDatafeed(Datafeed datafeed)
The requested data feed. Defined if and only if the request was successful.
- Parameters:
datafeed
- datafeed or null
for none
-
getErrors
public Errors getErrors()
A list of errors defined if and only if the request failed.
- Returns:
- value or
null
for none
-
setErrors
public DatafeedsCustomBatchResponseEntry setErrors(Errors errors)
A list of errors defined if and only if the request failed.
- Parameters:
errors
- errors or null
for none
-
set
public DatafeedsCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public DatafeedsCustomBatchResponseEntry clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy