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.Flags
Constructor and Description |
---|
Datafeed() |
Modifier and Type | Method and Description |
---|---|
Datafeed |
clone() |
java.lang.String |
getAttributeLanguage()
The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
|
java.lang.String |
getContentType()
The type of data feed.
|
DatafeedFetchSchedule |
getFetchSchedule()
Fetch schedule for the feed file.
|
java.lang.String |
getFileName()
The filename of the feed.
|
DatafeedFormat |
getFormat()
Format of the feed file.
|
java.lang.Long |
getId()
The ID of the data feed.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getName()
A descriptive name of the data feed.
|
java.util.List<DatafeedTarget> |
getTargets()
The targets this feed should apply to (country, language, destinations).
|
Datafeed |
set(java.lang.String fieldName,
java.lang.Object value) |
Datafeed |
setAttributeLanguage(java.lang.String attributeLanguage)
The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
|
Datafeed |
setContentType(java.lang.String contentType)
The type of data feed.
|
Datafeed |
setFetchSchedule(DatafeedFetchSchedule fetchSchedule)
Fetch schedule for the feed file.
|
Datafeed |
setFileName(java.lang.String fileName)
The filename of the feed.
|
Datafeed |
setFormat(DatafeedFormat format)
Format of the feed file.
|
Datafeed |
setId(java.lang.Long id)
The ID of the data feed.
|
Datafeed |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
Datafeed |
setName(java.lang.String name)
A descriptive name of the data feed.
|
Datafeed |
setTargets(java.util.List<DatafeedTarget> targets)
The targets this feed should apply to (country, language, destinations).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAttributeLanguage()
null
for nonepublic Datafeed setAttributeLanguage(java.lang.String attributeLanguage)
attributeLanguage
- attributeLanguage or null
for nonepublic java.lang.String getContentType()
null
for nonepublic Datafeed setContentType(java.lang.String contentType)
contentType
- contentType or null
for nonepublic DatafeedFetchSchedule getFetchSchedule()
null
for nonepublic Datafeed setFetchSchedule(DatafeedFetchSchedule fetchSchedule)
fetchSchedule
- fetchSchedule or null
for nonepublic java.lang.String getFileName()
null
for nonepublic Datafeed setFileName(java.lang.String fileName)
fileName
- fileName or null
for nonepublic DatafeedFormat getFormat()
null
for nonepublic Datafeed setFormat(DatafeedFormat format)
format
- format or null
for nonepublic java.lang.Long getId()
null
for nonepublic Datafeed setId(java.lang.Long id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Datafeed setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic Datafeed setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<DatafeedTarget> getTargets()
null
for nonepublic Datafeed setTargets(java.util.List<DatafeedTarget> targets)
targets
- targets or null
for nonepublic Datafeed set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Datafeed clone()
clone
in class com.google.api.client.json.GenericJson