Package com.google.api
Interface ContextRuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContextRule,ContextRule.Builder
public interface ContextRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllowedRequestExtensions(int index)A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.com.google.protobuf.ByteStringgetAllowedRequestExtensionsBytes(int index)A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.intgetAllowedRequestExtensionsCount()A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.List<String>getAllowedRequestExtensionsList()A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.StringgetAllowedResponseExtensions(int index)A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.com.google.protobuf.ByteStringgetAllowedResponseExtensionsBytes(int index)A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.intgetAllowedResponseExtensionsCount()A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.List<String>getAllowedResponseExtensionsList()A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.StringgetProvided(int index)A list of full type names of provided contexts.com.google.protobuf.ByteStringgetProvidedBytes(int index)A list of full type names of provided contexts.intgetProvidedCount()A list of full type names of provided contexts.List<String>getProvidedList()A list of full type names of provided contexts.StringgetRequested(int index)A list of full type names of requested contexts.com.google.protobuf.ByteStringgetRequestedBytes(int index)A list of full type names of requested contexts.intgetRequestedCount()A list of full type names of requested contexts.List<String>getRequestedList()A list of full type names of requested contexts.StringgetSelector()Selects the methods to which this rule applies.com.google.protobuf.ByteStringgetSelectorBytes()Selects the methods to which this rule applies.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSelector
String getSelector()
Selects the methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
string selector = 1;- Returns:
- The selector.
-
getSelectorBytes
com.google.protobuf.ByteString getSelectorBytes()
Selects the methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
string selector = 1;- Returns:
- The bytes for selector.
-
getRequestedList
List<String> getRequestedList()
A list of full type names of requested contexts.
repeated string requested = 2;- Returns:
- A list containing the requested.
-
getRequestedCount
int getRequestedCount()
A list of full type names of requested contexts.
repeated string requested = 2;- Returns:
- The count of requested.
-
getRequested
String getRequested(int index)
A list of full type names of requested contexts.
repeated string requested = 2;- Parameters:
index- The index of the element to return.- Returns:
- The requested at the given index.
-
getRequestedBytes
com.google.protobuf.ByteString getRequestedBytes(int index)
A list of full type names of requested contexts.
repeated string requested = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requested at the given index.
-
getProvidedList
List<String> getProvidedList()
A list of full type names of provided contexts.
repeated string provided = 3;- Returns:
- A list containing the provided.
-
getProvidedCount
int getProvidedCount()
A list of full type names of provided contexts.
repeated string provided = 3;- Returns:
- The count of provided.
-
getProvided
String getProvided(int index)
A list of full type names of provided contexts.
repeated string provided = 3;- Parameters:
index- The index of the element to return.- Returns:
- The provided at the given index.
-
getProvidedBytes
com.google.protobuf.ByteString getProvidedBytes(int index)
A list of full type names of provided contexts.
repeated string provided = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the provided at the given index.
-
getAllowedRequestExtensionsList
List<String> getAllowedRequestExtensionsList()
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
repeated string allowed_request_extensions = 4;- Returns:
- A list containing the allowedRequestExtensions.
-
getAllowedRequestExtensionsCount
int getAllowedRequestExtensionsCount()
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
repeated string allowed_request_extensions = 4;- Returns:
- The count of allowedRequestExtensions.
-
getAllowedRequestExtensions
String getAllowedRequestExtensions(int index)
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
repeated string allowed_request_extensions = 4;- Parameters:
index- The index of the element to return.- Returns:
- The allowedRequestExtensions at the given index.
-
getAllowedRequestExtensionsBytes
com.google.protobuf.ByteString getAllowedRequestExtensionsBytes(int index)
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
repeated string allowed_request_extensions = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedRequestExtensions at the given index.
-
getAllowedResponseExtensionsList
List<String> getAllowedResponseExtensionsList()
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
repeated string allowed_response_extensions = 5;- Returns:
- A list containing the allowedResponseExtensions.
-
getAllowedResponseExtensionsCount
int getAllowedResponseExtensionsCount()
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
repeated string allowed_response_extensions = 5;- Returns:
- The count of allowedResponseExtensions.
-
getAllowedResponseExtensions
String getAllowedResponseExtensions(int index)
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
repeated string allowed_response_extensions = 5;- Parameters:
index- The index of the element to return.- Returns:
- The allowedResponseExtensions at the given index.
-
getAllowedResponseExtensionsBytes
com.google.protobuf.ByteString getAllowedResponseExtensionsBytes(int index)
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
repeated string allowed_response_extensions = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedResponseExtensions at the given index.
-
-