All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.DatafeedStatus.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






DatafeedStatus (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class DatafeedStatus

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • DatafeedStatus

        public DatafeedStatus()
    • 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
      • 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
      • 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