target.apidocs.com.google.api.services.content.model.DatafeedstatusesCustomBatchResponseEntry.html Maven / Gradle / Ivy
DatafeedstatusesCustomBatchResponseEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class DatafeedstatusesCustomBatchResponseEntry
- 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.DatafeedstatusesCustomBatchResponseEntry
-
public final class DatafeedstatusesCustomBatchResponseEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch datafeedstatuses 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
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
DatafeedstatusesCustomBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DatafeedstatusesCustomBatchResponseEntry
clone()
Long
getBatchId()
The ID of the request entry this entry responds to.
DatafeedStatus
getDatafeedStatus()
The requested data feed status.
Errors
getErrors()
A list of errors for failed custombatch entries.
DatafeedstatusesCustomBatchResponseEntry
set(String fieldName,
Object value)
DatafeedstatusesCustomBatchResponseEntry
setBatchId(Long batchId)
The ID of the request entry this entry responds to.
DatafeedstatusesCustomBatchResponseEntry
setDatafeedStatus(DatafeedStatus datafeedStatus)
The requested data feed status.
DatafeedstatusesCustomBatchResponseEntry
setErrors(Errors errors)
A list of errors for failed custombatch entries.
-
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
-
-
Constructor Detail
-
DatafeedstatusesCustomBatchResponseEntry
public DatafeedstatusesCustomBatchResponseEntry()
-
Method Detail
-
getBatchId
public Long getBatchId()
The ID of the request entry this entry responds to.
- Returns:
- value or
null
for none
-
setBatchId
public DatafeedstatusesCustomBatchResponseEntry setBatchId(Long batchId)
The ID of the request entry this entry responds to.
- Parameters:
batchId
- batchId or null
for none
-
getDatafeedStatus
public DatafeedStatus getDatafeedStatus()
The requested data feed status. Defined if and only if the request was successful.
- Returns:
- value or
null
for none
-
setDatafeedStatus
public DatafeedstatusesCustomBatchResponseEntry setDatafeedStatus(DatafeedStatus datafeedStatus)
The requested data feed status. Defined if and only if the request was successful.
- Parameters:
datafeedStatus
- datafeedStatus or null
for none
-
getErrors
public Errors getErrors()
A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request.
- Returns:
- value or
null
for none
-
setErrors
public DatafeedstatusesCustomBatchResponseEntry setErrors(Errors errors)
A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request.
- Parameters:
errors
- errors or null
for none
-
set
public DatafeedstatusesCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DatafeedstatusesCustomBatchResponseEntry clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.