Interface Openapiv2.SecurityDefinitionsOrBuilder

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

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

    • getSecurityCount

      int getSecurityCount()
       A single security scheme definition, mapping a "name" to the scheme it
       defines.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
    • containsSecurity

      boolean containsSecurity(String key)
       A single security scheme definition, mapping a "name" to the scheme it
       defines.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
    • getSecurity

      Deprecated.
      Use getSecurityMap() instead.
    • getSecurityMap

       A single security scheme definition, mapping a "name" to the scheme it
       defines.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
    • getSecurityOrDefault

      Openapiv2.SecurityScheme getSecurityOrDefault(String key, Openapiv2.SecurityScheme defaultValue)
       A single security scheme definition, mapping a "name" to the scheme it
       defines.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
    • getSecurityOrThrow

      Openapiv2.SecurityScheme getSecurityOrThrow(String key)
       A single security scheme definition, mapping a "name" to the scheme it
       defines.
       
      map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;