Interface Openapiv2.SecurityRequirementOrBuilder

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

public static interface Openapiv2.SecurityRequirementOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSecurityRequirementCount

      int getSecurityRequirementCount()
       Each name must correspond to a security scheme which is declared in
       the Security Definitions. If the security scheme is of type "oauth2",
       then the value is a list of scope names required for the execution.
       For other security scheme types, the array MUST be empty.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;
    • containsSecurityRequirement

      boolean containsSecurityRequirement(String key)
       Each name must correspond to a security scheme which is declared in
       the Security Definitions. If the security scheme is of type "oauth2",
       then the value is a list of scope names required for the execution.
       For other security scheme types, the array MUST be empty.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;
    • getSecurityRequirement

      Deprecated.
    • getSecurityRequirementMap

       Each name must correspond to a security scheme which is declared in
       the Security Definitions. If the security scheme is of type "oauth2",
       then the value is a list of scope names required for the execution.
       For other security scheme types, the array MUST be empty.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;
    • getSecurityRequirementOrDefault

       Each name must correspond to a security scheme which is declared in
       the Security Definitions. If the security scheme is of type "oauth2",
       then the value is a list of scope names required for the execution.
       For other security scheme types, the array MUST be empty.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;
    • getSecurityRequirementOrThrow

       Each name must correspond to a security scheme which is declared in
       the Security Definitions. If the security scheme is of type "oauth2",
       then the value is a list of scope names required for the execution.
       For other security scheme types, the array MUST be empty.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1;