public final class PollItemsRequest
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 Cloud Search API. 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 |
---|
PollItemsRequest() |
Modifier and Type | Method and Description |
---|---|
PollItemsRequest |
clone() |
java.lang.String |
getConnectorName()
Name of connector making this call.
|
DebugOptions |
getDebugOptions()
Common debug options.
|
java.lang.Integer |
getLimit()
Maximum number of items to return.
|
java.lang.String |
getQueue()
Queue name to fetch items from.
|
java.util.List<java.lang.String> |
getStatusCodes()
Limit the items polled to the ones with these statuses.
|
PollItemsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
PollItemsRequest |
setConnectorName(java.lang.String connectorName)
Name of connector making this call.
|
PollItemsRequest |
setDebugOptions(DebugOptions debugOptions)
Common debug options.
|
PollItemsRequest |
setLimit(java.lang.Integer limit)
Maximum number of items to return.
|
PollItemsRequest |
setQueue(java.lang.String queue)
Queue name to fetch items from.
|
PollItemsRequest |
setStatusCodes(java.util.List<java.lang.String> statusCodes)
Limit the items polled to the ones with these statuses.
|
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 getConnectorName()
null
for nonepublic PollItemsRequest setConnectorName(java.lang.String connectorName)
connectorName
- connectorName or null
for nonepublic DebugOptions getDebugOptions()
null
for nonepublic PollItemsRequest setDebugOptions(DebugOptions debugOptions)
debugOptions
- debugOptions or null
for nonepublic java.lang.Integer getLimit()
null
for nonepublic PollItemsRequest setLimit(java.lang.Integer limit)
limit
- limit or null
for nonepublic java.lang.String getQueue()
null
for nonepublic PollItemsRequest setQueue(java.lang.String queue)
queue
- queue or null
for nonepublic java.util.List<java.lang.String> getStatusCodes()
null
for nonepublic PollItemsRequest setStatusCodes(java.util.List<java.lang.String> statusCodes)
statusCodes
- statusCodes or null
for nonepublic PollItemsRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PollItemsRequest clone()
clone
in class com.google.api.client.json.GenericJson