public final class ContextRule
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 Networking 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ContextRule() |
| Modifier and Type | Method and Description |
|---|---|
ContextRule |
clone() |
List<String> |
getAllowedRequestExtensions()
A list of full type names or extension IDs of extensions allowed in grpc side channel from
client to backend.
|
List<String> |
getAllowedResponseExtensions()
A list of full type names or extension IDs of extensions allowed in grpc side channel from
backend to client.
|
List<String> |
getProvided()
A list of full type names of provided contexts.
|
List<String> |
getRequested()
A list of full type names of requested contexts, only the requested context will be made
available to the backend.
|
String |
getSelector()
Selects the methods to which this rule applies.
|
ContextRule |
set(String fieldName,
Object value) |
ContextRule |
setAllowedRequestExtensions(List<String> allowedRequestExtensions)
A list of full type names or extension IDs of extensions allowed in grpc side channel from
client to backend.
|
ContextRule |
setAllowedResponseExtensions(List<String> allowedResponseExtensions)
A list of full type names or extension IDs of extensions allowed in grpc side channel from
backend to client.
|
ContextRule |
setProvided(List<String> provided)
A list of full type names of provided contexts.
|
ContextRule |
setRequested(List<String> requested)
A list of full type names of requested contexts, only the requested context will be made
available to the backend.
|
ContextRule |
setSelector(String selector)
Selects the methods to which this rule applies.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getAllowedRequestExtensions()
null for nonepublic ContextRule setAllowedRequestExtensions(List<String> allowedRequestExtensions)
allowedRequestExtensions - allowedRequestExtensions or null for nonepublic List<String> getAllowedResponseExtensions()
null for nonepublic ContextRule setAllowedResponseExtensions(List<String> allowedResponseExtensions)
allowedResponseExtensions - allowedResponseExtensions or null for nonepublic List<String> getProvided()
null for nonepublic ContextRule setProvided(List<String> provided)
provided - provided or null for nonepublic List<String> getRequested()
null for nonepublic ContextRule setRequested(List<String> requested)
requested - requested or null for nonepublic String getSelector()
null for nonepublic ContextRule setSelector(String selector)
selector - selector or null for nonepublic ContextRule set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ContextRule clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.