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
Modifier and TypeMethodDescriptiongetAllowedRequestExtensions
(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.ByteString
getAllowedRequestExtensionsBytes
(int index) A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.int
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.getAllowedResponseExtensions
(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.ByteString
getAllowedResponseExtensionsBytes
(int index) A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.int
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.getProvided
(int index) A list of full type names of provided contexts.com.google.protobuf.ByteString
getProvidedBytes
(int index) A list of full type names of provided contexts.int
A list of full type names of provided contexts.A list of full type names of provided contexts.getRequested
(int index) A list of full type names of requested contexts.com.google.protobuf.ByteString
getRequestedBytes
(int index) A list of full type names of requested contexts.int
A list of full type names of requested contexts.A list of full type names of requested contexts.Selects the methods to which this rule applies.com.google.protobuf.ByteString
Selects the methods to which this rule applies.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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
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
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
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
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
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.
-