public final class Context
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 Service Management 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 |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
Context |
clone() |
java.util.List<ContextRule> |
getRules()
A list of RPC context rules that apply to individual API methods.
|
Context |
set(java.lang.String fieldName,
java.lang.Object value) |
Context |
setRules(java.util.List<ContextRule> rules)
A list of RPC context rules that apply to individual API methods.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<ContextRule> getRules()
null
for nonepublic Context setRules(java.util.List<ContextRule> rules)
rules
- rules or null
for nonepublic Context set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Context clone()
clone
in class com.google.api.client.json.GenericJson