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

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

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://code.google.com/p/google-apis-client-generator/
 * (build: 2015-01-14 17:53:03 UTC)
 * on 2015-02-04 at 16:31:00 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.content.model;

/**
 * The status of a datafeed, i.e., 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: * http://code.google.com/p/google-http-java-client/wiki/JSON *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class DatafeedStatus extends com.google.api.client.json.GenericJson { /** * The ID of the feed for which the status is reported. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.math.BigInteger datafeedId; /** * The list of errors occurring in the feed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List errors; static { // hack to force ProGuard to consider DatafeedStatusError used, since otherwise it would be stripped out // see http://code.google.com/p/google-api-java-client/issues/detail?id=528 com.google.api.client.util.Data.nullOf(DatafeedStatusError.class); } /** * The number of items in the feed that were processed. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.math.BigInteger itemsTotal; /** * The number of items in the feed that were valid. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.math.BigInteger itemsValid; /** * Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * The processing status of the feed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String processingStatus; /** * The list of errors occurring in the feed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List warnings; static { // hack to force ProGuard to consider DatafeedStatusError used, since otherwise it would be stripped out // see http://code.google.com/p/google-api-java-client/issues/detail?id=528 com.google.api.client.util.Data.nullOf(DatafeedStatusError.class); } /** * The ID of the feed for which the status is reported. * @return value or {@code null} for none */ public java.math.BigInteger getDatafeedId() { return datafeedId; } /** * The ID of the feed for which the status is reported. * @param datafeedId datafeedId or {@code null} for none */ public DatafeedStatus setDatafeedId(java.math.BigInteger datafeedId) { this.datafeedId = datafeedId; return this; } /** * The list of errors occurring in the feed. * @return value or {@code null} for none */ public java.util.List getErrors() { return errors; } /** * The list of errors occurring in the feed. * @param errors errors or {@code null} for none */ public DatafeedStatus setErrors(java.util.List errors) { this.errors = errors; return this; } /** * The number of items in the feed that were processed. * @return value or {@code null} for none */ public java.math.BigInteger getItemsTotal() { return itemsTotal; } /** * The number of items in the feed that were processed. * @param itemsTotal itemsTotal or {@code null} for none */ public DatafeedStatus setItemsTotal(java.math.BigInteger itemsTotal) { this.itemsTotal = itemsTotal; return this; } /** * The number of items in the feed that were valid. * @return value or {@code null} for none */ public java.math.BigInteger getItemsValid() { return itemsValid; } /** * The number of items in the feed that were valid. * @param itemsValid itemsValid or {@code null} for none */ public DatafeedStatus setItemsValid(java.math.BigInteger itemsValid) { this.itemsValid = itemsValid; return this; } /** * Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus". * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus". * @param kind kind or {@code null} for none */ public DatafeedStatus setKind(java.lang.String kind) { this.kind = kind; return this; } /** * The processing status of the feed. * @return value or {@code null} for none */ public java.lang.String getProcessingStatus() { return processingStatus; } /** * The processing status of the feed. * @param processingStatus processingStatus or {@code null} for none */ public DatafeedStatus setProcessingStatus(java.lang.String processingStatus) { this.processingStatus = processingStatus; return this; } /** * The list of errors occurring in the feed. * @return value or {@code null} for none */ public java.util.List getWarnings() { return warnings; } /** * The list of errors occurring in the feed. * @param warnings warnings or {@code null} for none */ public DatafeedStatus setWarnings(java.util.List warnings) { this.warnings = warnings; return this; } @Override public DatafeedStatus set(String fieldName, Object value) { return (DatafeedStatus) super.set(fieldName, value); } @Override public DatafeedStatus clone() { return (DatafeedStatus) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy