target.apidocs.com.google.api.services.content.model.DatafeedStatus.html Maven / Gradle / Ivy
DatafeedStatus (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class DatafeedStatus
- 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.DatafeedStatus
-
public final class DatafeedStatus
extends com.google.api.client.json.GenericJson
The status of a datafeed, that is, the result of the last retrieval of the datafeed computed
asynchronously when the feed processing is finished.
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
DatafeedStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DatafeedStatus
clone()
String
getCountry()
The country for which the status is reported, represented as a CLDR territory code.
BigInteger
getDatafeedId()
The ID of the feed for which the status is reported.
List<DatafeedStatusError>
getErrors()
The list of errors occurring in the feed.
String
getFeedLabel()
The feed label status is reported for.
BigInteger
getItemsTotal()
The number of items in the feed that were processed.
BigInteger
getItemsValid()
The number of items in the feed that were valid.
String
getKind()
Identifies what kind of resource this is.
String
getLanguage()
The two-letter ISO 639-1 language for which the status is reported.
String
getLastUploadDate()
The last date at which the feed was uploaded.
String
getProcessingStatus()
The processing status of the feed.
List<DatafeedStatusError>
getWarnings()
The list of errors occurring in the feed.
DatafeedStatus
set(String fieldName,
Object value)
DatafeedStatus
setCountry(String country)
The country for which the status is reported, represented as a CLDR territory code.
DatafeedStatus
setDatafeedId(BigInteger datafeedId)
The ID of the feed for which the status is reported.
DatafeedStatus
setErrors(List<DatafeedStatusError> errors)
The list of errors occurring in the feed.
DatafeedStatus
setFeedLabel(String feedLabel)
The feed label status is reported for.
DatafeedStatus
setItemsTotal(BigInteger itemsTotal)
The number of items in the feed that were processed.
DatafeedStatus
setItemsValid(BigInteger itemsValid)
The number of items in the feed that were valid.
DatafeedStatus
setKind(String kind)
Identifies what kind of resource this is.
DatafeedStatus
setLanguage(String language)
The two-letter ISO 639-1 language for which the status is reported.
DatafeedStatus
setLastUploadDate(String lastUploadDate)
The last date at which the feed was uploaded.
DatafeedStatus
setProcessingStatus(String processingStatus)
The processing status of the feed.
DatafeedStatus
setWarnings(List<DatafeedStatusError> warnings)
The list of errors occurring in the feed.
-
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
-
getCountry
public String getCountry()
The country for which the status is reported, represented as a CLDR territory code.
- Returns:
- value or
null
for none
-
setCountry
public DatafeedStatus setCountry(String country)
The country for which the status is reported, represented as a CLDR territory code.
- Parameters:
country
- country or null
for none
-
getDatafeedId
public BigInteger getDatafeedId()
The ID of the feed for which the status is reported.
- Returns:
- value or
null
for none
-
setDatafeedId
public DatafeedStatus setDatafeedId(BigInteger datafeedId)
The ID of the feed for which the status is reported.
- Parameters:
datafeedId
- datafeedId or null
for none
-
getErrors
public List<DatafeedStatusError> getErrors()
The list of errors occurring in the feed.
- Returns:
- value or
null
for none
-
setErrors
public DatafeedStatus setErrors(List<DatafeedStatusError> errors)
The list of errors occurring in the feed.
- Parameters:
errors
- errors or null
for none
-
getFeedLabel
public String getFeedLabel()
The feed label status is reported for.
- Returns:
- value or
null
for none
-
setFeedLabel
public DatafeedStatus setFeedLabel(String feedLabel)
The feed label status is reported for.
- Parameters:
feedLabel
- feedLabel or null
for none
-
getItemsTotal
public BigInteger getItemsTotal()
The number of items in the feed that were processed.
- Returns:
- value or
null
for none
-
setItemsTotal
public DatafeedStatus setItemsTotal(BigInteger itemsTotal)
The number of items in the feed that were processed.
- Parameters:
itemsTotal
- itemsTotal or null
for none
-
getItemsValid
public BigInteger getItemsValid()
The number of items in the feed that were valid.
- Returns:
- value or
null
for none
-
setItemsValid
public DatafeedStatus setItemsValid(BigInteger itemsValid)
The number of items in the feed that were valid.
- Parameters:
itemsValid
- itemsValid or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string "`content#datafeedStatus`"
- Returns:
- value or
null
for none
-
setKind
public DatafeedStatus setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string "`content#datafeedStatus`"
- Parameters:
kind
- kind or null
for none
-
getLanguage
public String getLanguage()
The two-letter ISO 639-1 language for which the status is reported.
- Returns:
- value or
null
for none
-
setLanguage
public DatafeedStatus setLanguage(String language)
The two-letter ISO 639-1 language for which the status is reported.
- Parameters:
language
- language or null
for none
-
getLastUploadDate
public String getLastUploadDate()
The last date at which the feed was uploaded.
- Returns:
- value or
null
for none
-
setLastUploadDate
public DatafeedStatus setLastUploadDate(String lastUploadDate)
The last date at which the feed was uploaded.
- Parameters:
lastUploadDate
- lastUploadDate or null
for none
-
getProcessingStatus
public String getProcessingStatus()
The processing status of the feed. Acceptable values are: - "`"`failure`": The feed could not
be processed or all items had errors.`" - "`in progress`": The feed is being processed. -
"`none`": The feed has not yet been processed. For example, a feed that has never been uploaded
will have this processing status. - "`success`": The feed was processed successfully, though
some items might have had errors.
- Returns:
- value or
null
for none
-
setProcessingStatus
public DatafeedStatus setProcessingStatus(String processingStatus)
The processing status of the feed. Acceptable values are: - "`"`failure`": The feed could not
be processed or all items had errors.`" - "`in progress`": The feed is being processed. -
"`none`": The feed has not yet been processed. For example, a feed that has never been uploaded
will have this processing status. - "`success`": The feed was processed successfully, though
some items might have had errors.
- Parameters:
processingStatus
- processingStatus or null
for none
-
getWarnings
public List<DatafeedStatusError> getWarnings()
The list of errors occurring in the feed.
- Returns:
- value or
null
for none
-
setWarnings
public DatafeedStatus setWarnings(List<DatafeedStatusError> warnings)
The list of errors occurring in the feed.
- Parameters:
warnings
- warnings or null
for none
-
set
public DatafeedStatus set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DatafeedStatus 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