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
      java.lang.String getAllowedRequestExtensions​(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 getAllowedRequestExtensionsCount()
      A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
      java.util.List<java.lang.String> getAllowedRequestExtensionsList()
      A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
      java.lang.String 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 getAllowedResponseExtensionsCount()
      A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
      java.util.List<java.lang.String> getAllowedResponseExtensionsList()
      A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
      java.lang.String 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 getProvidedCount()
      A list of full type names of provided contexts.
      java.util.List<java.lang.String> getProvidedList()
      A list of full type names of provided contexts.
      java.lang.String getRequested​(int index)
      A list of full type names of requested contexts, only the requested context will be made available to the backend.
      com.google.protobuf.ByteString getRequestedBytes​(int index)
      A list of full type names of requested contexts, only the requested context will be made available to the backend.
      int getRequestedCount()
      A list of full type names of requested contexts, only the requested context will be made available to the backend.
      java.util.List<java.lang.String> getRequestedList()
      A list of full type names of requested contexts, only the requested context will be made available to the backend.
      java.lang.String getSelector()
      Selects the methods to which this rule applies.
      com.google.protobuf.ByteString getSelectorBytes()
      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 Detail

      • getSelector

        java.lang.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

        java.util.List<java.lang.String> getRequestedList()
         A list of full type names of requested contexts, only the requested context
         will be made available to the backend.
         
        repeated string requested = 2;
        Returns:
        A list containing the requested.
      • getRequestedCount

        int getRequestedCount()
         A list of full type names of requested contexts, only the requested context
         will be made available to the backend.
         
        repeated string requested = 2;
        Returns:
        The count of requested.
      • getRequested

        java.lang.String getRequested​(int index)
         A list of full type names of requested contexts, only the requested context
         will be made available to the backend.
         
        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, only the requested context
         will be made available to the backend.
         
        repeated string requested = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the requested at the given index.
      • getProvidedList

        java.util.List<java.lang.String> getProvidedList()
         A list of full type names of provided contexts. It is used to support
         propagating HTTP headers and ETags from the response extension.
         
        repeated string provided = 3;
        Returns:
        A list containing the provided.
      • getProvidedCount

        int getProvidedCount()
         A list of full type names of provided contexts. It is used to support
         propagating HTTP headers and ETags from the response extension.
         
        repeated string provided = 3;
        Returns:
        The count of provided.
      • getProvided

        java.lang.String getProvided​(int index)
         A list of full type names of provided contexts. It is used to support
         propagating HTTP headers and ETags from the response extension.
         
        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. It is used to support
         propagating HTTP headers and ETags from the response extension.
         
        repeated string provided = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the provided at the given index.
      • getAllowedRequestExtensionsList

        java.util.List<java.lang.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

        java.lang.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

        java.util.List<java.lang.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

        java.lang.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.