public final class Datafeed
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Datafeed() |
| Modifier and Type | Method and Description |
|---|---|
Datafeed |
clone() |
String |
getAttributeLanguage()
The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
|
String |
getContentType()
Required.
|
DatafeedFetchSchedule |
getFetchSchedule()
Fetch schedule for the feed file.
|
String |
getFileName()
Required.
|
DatafeedFormat |
getFormat()
Format of the feed file.
|
Long |
getId()
Required for update.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getName()
Required for insert.
|
List<DatafeedTarget> |
getTargets()
The targets this feed should apply to (country, language, destinations).
|
Datafeed |
set(String fieldName,
Object value) |
Datafeed |
setAttributeLanguage(String attributeLanguage)
The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
|
Datafeed |
setContentType(String contentType)
Required.
|
Datafeed |
setFetchSchedule(DatafeedFetchSchedule fetchSchedule)
Fetch schedule for the feed file.
|
Datafeed |
setFileName(String fileName)
Required.
|
Datafeed |
setFormat(DatafeedFormat format)
Format of the feed file.
|
Datafeed |
setId(Long id)
Required for update.
|
Datafeed |
setKind(String kind)
Identifies what kind of resource this is.
|
Datafeed |
setName(String name)
Required for insert.
|
Datafeed |
setTargets(List<DatafeedTarget> targets)
The targets this feed should apply to (country, language, destinations).
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAttributeLanguage()
null for nonepublic Datafeed setAttributeLanguage(String attributeLanguage)
attributeLanguage - attributeLanguage or null for nonepublic String getContentType()
null for nonepublic Datafeed setContentType(String contentType)
contentType - contentType or null for nonepublic DatafeedFetchSchedule getFetchSchedule()
null for nonepublic Datafeed setFetchSchedule(DatafeedFetchSchedule fetchSchedule)
fetchSchedule - fetchSchedule or null for nonepublic String getFileName()
null for nonepublic Datafeed setFileName(String fileName)
fileName - fileName or null for nonepublic DatafeedFormat getFormat()
null for nonepublic Datafeed setFormat(DatafeedFormat format)
format - format or null for nonepublic Long getId()
null for nonepublic Datafeed setId(Long id)
id - id or null for nonepublic String getKind()
null for nonepublic Datafeed setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Datafeed setName(String name)
name - name or null for nonepublic List<DatafeedTarget> getTargets()
null for nonepublic Datafeed setTargets(List<DatafeedTarget> targets)
targets - targets or null for nonepublic Datafeed set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Datafeed clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.