public final class SourceConfig
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 |
---|
SourceConfig() |
Modifier and Type | Method and Description |
---|---|
SourceConfig |
clone() |
SourceCrowdingConfig |
getCrowdingConfig()
The crowding configuration for the source.
|
SourceScoringConfig |
getScoringConfig()
The scoring configuration for the source.
|
Source |
getSource()
The source for which this configuration is to be used.
|
SourceConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
SourceConfig |
setCrowdingConfig(SourceCrowdingConfig crowdingConfig)
The crowding configuration for the source.
|
SourceConfig |
setScoringConfig(SourceScoringConfig scoringConfig)
The scoring configuration for the source.
|
SourceConfig |
setSource(Source source)
The source for which this configuration is to be used.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public SourceCrowdingConfig getCrowdingConfig()
null
for nonepublic SourceConfig setCrowdingConfig(SourceCrowdingConfig crowdingConfig)
crowdingConfig
- crowdingConfig or null
for nonepublic SourceScoringConfig getScoringConfig()
null
for nonepublic SourceConfig setScoringConfig(SourceScoringConfig scoringConfig)
scoringConfig
- scoringConfig or null
for nonepublic Source getSource()
null
for nonepublic SourceConfig setSource(Source source)
source
- source or null
for nonepublic SourceConfig set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SourceConfig clone()
clone
in class com.google.api.client.json.GenericJson