public final class SourceResultCount
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 |
---|
SourceResultCount() |
Modifier and Type | Method and Description |
---|---|
SourceResultCount |
clone() |
java.lang.Boolean |
getHasMoreResults()
Whether there are more search results for this source.
|
java.lang.Long |
getResultCountEstimate()
The estimated result count for this source.
|
java.lang.Long |
getResultCountExact()
The exact result count for this source.
|
Source |
getSource()
The source the result count information is associated with.
|
SourceResultCount |
set(java.lang.String fieldName,
java.lang.Object value) |
SourceResultCount |
setHasMoreResults(java.lang.Boolean hasMoreResults)
Whether there are more search results for this source.
|
SourceResultCount |
setResultCountEstimate(java.lang.Long resultCountEstimate)
The estimated result count for this source.
|
SourceResultCount |
setResultCountExact(java.lang.Long resultCountExact)
The exact result count for this source.
|
SourceResultCount |
setSource(Source source)
The source the result count information is associated with.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getHasMoreResults()
null
for nonepublic SourceResultCount setHasMoreResults(java.lang.Boolean hasMoreResults)
hasMoreResults
- hasMoreResults or null
for nonepublic java.lang.Long getResultCountEstimate()
null
for nonepublic SourceResultCount setResultCountEstimate(java.lang.Long resultCountEstimate)
resultCountEstimate
- resultCountEstimate or null
for nonepublic java.lang.Long getResultCountExact()
null
for nonepublic SourceResultCount setResultCountExact(java.lang.Long resultCountExact)
resultCountExact
- resultCountExact or null
for nonepublic Source getSource()
null
for nonepublic SourceResultCount setSource(Source source)
source
- source or null
for nonepublic SourceResultCount set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SourceResultCount clone()
clone
in class com.google.api.client.json.GenericJson