Interface Openapiv2.OperationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Openapiv2.Operation, Openapiv2.Operation.Builder
    Enclosing class:
    Openapiv2

    public static interface Openapiv2.OperationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getTagsList

        List<String> getTagsList()
         A list of tags for API documentation control. Tags can be used for logical
         grouping of operations by resources or any other qualifier.
         
        repeated string tags = 1;
        Returns:
        A list containing the tags.
      • getTagsCount

        int getTagsCount()
         A list of tags for API documentation control. Tags can be used for logical
         grouping of operations by resources or any other qualifier.
         
        repeated string tags = 1;
        Returns:
        The count of tags.
      • getTags

        String getTags​(int index)
         A list of tags for API documentation control. Tags can be used for logical
         grouping of operations by resources or any other qualifier.
         
        repeated string tags = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        com.google.protobuf.ByteString getTagsBytes​(int index)
         A list of tags for API documentation control. Tags can be used for logical
         grouping of operations by resources or any other qualifier.
         
        repeated string tags = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • getSummary

        String getSummary()
         A short summary of what the operation does. For maximum readability in the
         swagger-ui, this field SHOULD be less than 120 characters.
         
        string summary = 2;
        Returns:
        The summary.
      • getSummaryBytes

        com.google.protobuf.ByteString getSummaryBytes()
         A short summary of what the operation does. For maximum readability in the
         swagger-ui, this field SHOULD be less than 120 characters.
         
        string summary = 2;
        Returns:
        The bytes for summary.
      • getDescription

        String getDescription()
         A verbose explanation of the operation behavior. GFM syntax can be used for
         rich text representation.
         
        string description = 3;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         A verbose explanation of the operation behavior. GFM syntax can be used for
         rich text representation.
         
        string description = 3;
        Returns:
        The bytes for description.
      • hasExternalDocs

        boolean hasExternalDocs()
         Additional external documentation for this operation.
         
        .grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation external_docs = 4;
        Returns:
        Whether the externalDocs field is set.
      • getExternalDocs

        Openapiv2.ExternalDocumentation getExternalDocs()
         Additional external documentation for this operation.
         
        .grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation external_docs = 4;
        Returns:
        The externalDocs.
      • getExternalDocsOrBuilder

        Openapiv2.ExternalDocumentationOrBuilder getExternalDocsOrBuilder()
         Additional external documentation for this operation.
         
        .grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation external_docs = 4;
      • getOperationId

        String getOperationId()
         Unique string used to identify the operation. The id MUST be unique among
         all operations described in the API. Tools and libraries MAY use the
         operationId to uniquely identify an operation, therefore, it is recommended
         to follow common programming naming conventions.
         
        string operation_id = 5;
        Returns:
        The operationId.
      • getOperationIdBytes

        com.google.protobuf.ByteString getOperationIdBytes()
         Unique string used to identify the operation. The id MUST be unique among
         all operations described in the API. Tools and libraries MAY use the
         operationId to uniquely identify an operation, therefore, it is recommended
         to follow common programming naming conventions.
         
        string operation_id = 5;
        Returns:
        The bytes for operationId.
      • getConsumesList

        List<String> getConsumesList()
         A list of MIME types the operation can consume. This overrides the consumes
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string consumes = 6;
        Returns:
        A list containing the consumes.
      • getConsumesCount

        int getConsumesCount()
         A list of MIME types the operation can consume. This overrides the consumes
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string consumes = 6;
        Returns:
        The count of consumes.
      • getConsumes

        String getConsumes​(int index)
         A list of MIME types the operation can consume. This overrides the consumes
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string consumes = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The consumes at the given index.
      • getConsumesBytes

        com.google.protobuf.ByteString getConsumesBytes​(int index)
         A list of MIME types the operation can consume. This overrides the consumes
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string consumes = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the consumes at the given index.
      • getProducesList

        List<String> getProducesList()
         A list of MIME types the operation can produce. This overrides the produces
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string produces = 7;
        Returns:
        A list containing the produces.
      • getProducesCount

        int getProducesCount()
         A list of MIME types the operation can produce. This overrides the produces
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string produces = 7;
        Returns:
        The count of produces.
      • getProduces

        String getProduces​(int index)
         A list of MIME types the operation can produce. This overrides the produces
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string produces = 7;
        Parameters:
        index - The index of the element to return.
        Returns:
        The produces at the given index.
      • getProducesBytes

        com.google.protobuf.ByteString getProducesBytes​(int index)
         A list of MIME types the operation can produce. This overrides the produces
         definition at the Swagger Object. An empty value MAY be used to clear the
         global definition. Value MUST be as described under Mime Types.
         
        repeated string produces = 7;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the produces at the given index.
      • getResponsesCount

        int getResponsesCount()
         The list of possible responses as they are returned from executing this
         operation.
         
        map<string, .grpc.gateway.protoc_gen_swagger.options.Response> responses = 9;
      • containsResponses

        boolean containsResponses​(String key)
         The list of possible responses as they are returned from executing this
         operation.
         
        map<string, .grpc.gateway.protoc_gen_swagger.options.Response> responses = 9;
      • getResponsesMap

        Map<String,​Openapiv2.Response> getResponsesMap()
         The list of possible responses as they are returned from executing this
         operation.
         
        map<string, .grpc.gateway.protoc_gen_swagger.options.Response> responses = 9;
      • getResponsesOrDefault

        Openapiv2.Response getResponsesOrDefault​(String key,
                                                 Openapiv2.Response defaultValue)
         The list of possible responses as they are returned from executing this
         operation.
         
        map<string, .grpc.gateway.protoc_gen_swagger.options.Response> responses = 9;
      • getResponsesOrThrow

        Openapiv2.Response getResponsesOrThrow​(String key)
         The list of possible responses as they are returned from executing this
         operation.
         
        map<string, .grpc.gateway.protoc_gen_swagger.options.Response> responses = 9;
      • getSchemesList

        List<String> getSchemesList()
         The transfer protocol for the operation. Values MUST be from the list:
         "http", "https", "ws", "wss". The value overrides the Swagger Object
         schemes definition.
         
        repeated string schemes = 10;
        Returns:
        A list containing the schemes.
      • getSchemesCount

        int getSchemesCount()
         The transfer protocol for the operation. Values MUST be from the list:
         "http", "https", "ws", "wss". The value overrides the Swagger Object
         schemes definition.
         
        repeated string schemes = 10;
        Returns:
        The count of schemes.
      • getSchemes

        String getSchemes​(int index)
         The transfer protocol for the operation. Values MUST be from the list:
         "http", "https", "ws", "wss". The value overrides the Swagger Object
         schemes definition.
         
        repeated string schemes = 10;
        Parameters:
        index - The index of the element to return.
        Returns:
        The schemes at the given index.
      • getSchemesBytes

        com.google.protobuf.ByteString getSchemesBytes​(int index)
         The transfer protocol for the operation. Values MUST be from the list:
         "http", "https", "ws", "wss". The value overrides the Swagger Object
         schemes definition.
         
        repeated string schemes = 10;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the schemes at the given index.
      • getDeprecated

        boolean getDeprecated()
         Declares this operation to be deprecated. Usage of the declared operation
         should be refrained. Default value is false.
         
        bool deprecated = 11;
        Returns:
        The deprecated.
      • getSecurityList

        List<Openapiv2.SecurityRequirement> getSecurityList()
         A declaration of which security schemes are applied for this operation. The
         list of values describes alternative security schemes that can be used
         (that is, there is a logical OR between the security requirements). This
         definition overrides any declared top-level security. To remove a top-level
         security declaration, an empty array can be used.
         
        repeated .grpc.gateway.protoc_gen_swagger.options.SecurityRequirement security = 12;
      • getSecurity

        Openapiv2.SecurityRequirement getSecurity​(int index)
         A declaration of which security schemes are applied for this operation. The
         list of values describes alternative security schemes that can be used
         (that is, there is a logical OR between the security requirements). This
         definition overrides any declared top-level security. To remove a top-level
         security declaration, an empty array can be used.
         
        repeated .grpc.gateway.protoc_gen_swagger.options.SecurityRequirement security = 12;
      • getSecurityCount

        int getSecurityCount()
         A declaration of which security schemes are applied for this operation. The
         list of values describes alternative security schemes that can be used
         (that is, there is a logical OR between the security requirements). This
         definition overrides any declared top-level security. To remove a top-level
         security declaration, an empty array can be used.
         
        repeated .grpc.gateway.protoc_gen_swagger.options.SecurityRequirement security = 12;
      • getSecurityOrBuilderList

        List<? extends Openapiv2.SecurityRequirementOrBuilder> getSecurityOrBuilderList()
         A declaration of which security schemes are applied for this operation. The
         list of values describes alternative security schemes that can be used
         (that is, there is a logical OR between the security requirements). This
         definition overrides any declared top-level security. To remove a top-level
         security declaration, an empty array can be used.
         
        repeated .grpc.gateway.protoc_gen_swagger.options.SecurityRequirement security = 12;
      • getSecurityOrBuilder

        Openapiv2.SecurityRequirementOrBuilder getSecurityOrBuilder​(int index)
         A declaration of which security schemes are applied for this operation. The
         list of values describes alternative security schemes that can be used
         (that is, there is a logical OR between the security requirements). This
         definition overrides any declared top-level security. To remove a top-level
         security declaration, an empty array can be used.
         
        repeated .grpc.gateway.protoc_gen_swagger.options.SecurityRequirement security = 12;
      • getExtensionsCount

        int getExtensionsCount()
        map<string, .google.protobuf.Value> extensions = 13;
      • containsExtensions

        boolean containsExtensions​(String key)
        map<string, .google.protobuf.Value> extensions = 13;
      • getExtensionsMap

        Map<String,​com.google.protobuf.Value> getExtensionsMap()
        map<string, .google.protobuf.Value> extensions = 13;
      • getExtensionsOrDefault

        com.google.protobuf.Value getExtensionsOrDefault​(String key,
                                                         com.google.protobuf.Value defaultValue)
        map<string, .google.protobuf.Value> extensions = 13;
      • getExtensionsOrThrow

        com.google.protobuf.Value getExtensionsOrThrow​(String key)
        map<string, .google.protobuf.Value> extensions = 13;