target.apidocs.com.google.api.services.content.model.DatafeedstatusesCustomBatchRequestEntry.html Maven / Gradle / Ivy
DatafeedstatusesCustomBatchRequestEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class DatafeedstatusesCustomBatchRequestEntry
- 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.DatafeedstatusesCustomBatchRequestEntry
-
public final class DatafeedstatusesCustomBatchRequestEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch datafeedstatuses request.
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
DatafeedstatusesCustomBatchRequestEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DatafeedstatusesCustomBatchRequestEntry
clone()
Long
getBatchId()
An entry ID, unique within the batch request.
String
getCountry()
Deprecated.
BigInteger
getDatafeedId()
The ID of the data feed to get.
String
getFeedLabel()
The feed label to get the datafeed status for.
String
getLanguage()
The language to get the datafeed status for.
BigInteger
getMerchantId()
The ID of the managing account.
String
getMethod()
The method of the batch entry.
DatafeedstatusesCustomBatchRequestEntry
set(String fieldName,
Object value)
DatafeedstatusesCustomBatchRequestEntry
setBatchId(Long batchId)
An entry ID, unique within the batch request.
DatafeedstatusesCustomBatchRequestEntry
setCountry(String country)
Deprecated.
DatafeedstatusesCustomBatchRequestEntry
setDatafeedId(BigInteger datafeedId)
The ID of the data feed to get.
DatafeedstatusesCustomBatchRequestEntry
setFeedLabel(String feedLabel)
The feed label to get the datafeed status for.
DatafeedstatusesCustomBatchRequestEntry
setLanguage(String language)
The language to get the datafeed status for.
DatafeedstatusesCustomBatchRequestEntry
setMerchantId(BigInteger merchantId)
The ID of the managing account.
DatafeedstatusesCustomBatchRequestEntry
setMethod(String method)
The method of the batch entry.
-
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
-
-
Constructor Detail
-
DatafeedstatusesCustomBatchRequestEntry
public DatafeedstatusesCustomBatchRequestEntry()
-
Method Detail
-
getBatchId
public Long getBatchId()
An entry ID, unique within the batch request.
- Returns:
- value or
null
for none
-
setBatchId
public DatafeedstatusesCustomBatchRequestEntry setBatchId(Long batchId)
An entry ID, unique within the batch request.
- Parameters:
batchId
- batchId or null
for none
-
getCountry
public String getCountry()
Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this
parameter is provided, then `language` must also be provided. Note that for multi-target
datafeeds this parameter is required.
- Returns:
- value or
null
for none
-
setCountry
public DatafeedstatusesCustomBatchRequestEntry setCountry(String country)
Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this
parameter is provided, then `language` must also be provided. Note that for multi-target
datafeeds this parameter is required.
- Parameters:
country
- country or null
for none
-
getDatafeedId
public BigInteger getDatafeedId()
The ID of the data feed to get.
- Returns:
- value or
null
for none
-
setDatafeedId
public DatafeedstatusesCustomBatchRequestEntry setDatafeedId(BigInteger datafeedId)
The ID of the data feed to get.
- Parameters:
datafeedId
- datafeedId or null
for none
-
getFeedLabel
public String getFeedLabel()
The feed label to get the datafeed status for. If this parameter is provided, then `language`
must also be provided. Note that for multi-target datafeeds this parameter is required.
- Returns:
- value or
null
for none
-
setFeedLabel
public DatafeedstatusesCustomBatchRequestEntry setFeedLabel(String feedLabel)
The feed label to get the datafeed status for. If this parameter is provided, then `language`
must also be provided. Note that for multi-target datafeeds this parameter is required.
- Parameters:
feedLabel
- feedLabel or null
for none
-
getLanguage
public String getLanguage()
The language to get the datafeed status for. If this parameter is provided then `country` must
also be provided. Note that for multi-target datafeeds this parameter is required.
- Returns:
- value or
null
for none
-
setLanguage
public DatafeedstatusesCustomBatchRequestEntry setLanguage(String language)
The language to get the datafeed status for. If this parameter is provided then `country` must
also be provided. Note that for multi-target datafeeds this parameter is required.
- Parameters:
language
- language or null
for none
-
getMerchantId
public BigInteger getMerchantId()
The ID of the managing account.
- Returns:
- value or
null
for none
-
setMerchantId
public DatafeedstatusesCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
The ID of the managing account.
- Parameters:
merchantId
- merchantId or null
for none
-
getMethod
public String getMethod()
The method of the batch entry. Acceptable values are: - "`get`"
- Returns:
- value or
null
for none
-
setMethod
public DatafeedstatusesCustomBatchRequestEntry setMethod(String method)
The method of the batch entry. Acceptable values are: - "`get`"
- Parameters:
method
- method or null
for none
-
set
public DatafeedstatusesCustomBatchRequestEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DatafeedstatusesCustomBatchRequestEntry 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