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 Details

    • 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_openapiv2.options.ExternalDocumentation external_docs = 4;
      Returns:
      Whether the externalDocs field is set.
    • getExternalDocs

       Additional external documentation for this operation.
       
      .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4;
      Returns:
      The externalDocs.
    • getExternalDocsOrBuilder

      Openapiv2.ExternalDocumentationOrBuilder getExternalDocsOrBuilder()
       Additional external documentation for this operation.
       
      .grpc.gateway.protoc_gen_openapiv2.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 OpenAPI 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 OpenAPI 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 OpenAPI 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 OpenAPI 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 OpenAPI 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 OpenAPI 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 OpenAPI 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 OpenAPI 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_openapiv2.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_openapiv2.options.Response> responses = 9;
    • getResponses

      Deprecated.
      Use getResponsesMap() instead.
    • 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_openapiv2.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_openapiv2.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_openapiv2.options.Response> responses = 9;
    • getSchemesList

      List<Openapiv2.Scheme> getSchemesList()
       The transfer protocol for the operation. Values MUST be from the list:
       "http", "https", "ws", "wss". The value overrides the OpenAPI Object
       schemes definition.
       
      repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme 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 OpenAPI Object
       schemes definition.
       
      repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;
      Returns:
      The count of schemes.
    • getSchemes

      Openapiv2.Scheme getSchemes(int index)
       The transfer protocol for the operation. Values MUST be from the list:
       "http", "https", "ws", "wss". The value overrides the OpenAPI Object
       schemes definition.
       
      repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;
      Parameters:
      index - The index of the element to return.
      Returns:
      The schemes at the given index.
    • getSchemesValueList

      List<Integer> getSchemesValueList()
       The transfer protocol for the operation. Values MUST be from the list:
       "http", "https", "ws", "wss". The value overrides the OpenAPI Object
       schemes definition.
       
      repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;
      Returns:
      A list containing the enum numeric values on the wire for schemes.
    • getSchemesValue

      int getSchemesValue(int index)
       The transfer protocol for the operation. Values MUST be from the list:
       "http", "https", "ws", "wss". The value overrides the OpenAPI Object
       schemes definition.
       
      repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of 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

       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_openapiv2.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_openapiv2.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_openapiv2.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_openapiv2.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_openapiv2.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;
    • getExtensions

      @Deprecated Map<String,Value> getExtensions()
      Deprecated.
      Use getExtensionsMap() instead.
    • getExtensionsMap

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

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

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