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 Summary
Modifier and TypeMethodDescriptionboolean
containsSecurity
(String key) A single security scheme definition, mapping a "name" to the scheme it defines.Deprecated.int
A single security scheme definition, mapping a "name" to the scheme it defines.A single security scheme definition, mapping a "name" to the scheme it defines.getSecurityOrDefault
(String key, Openapiv2.SecurityScheme defaultValue) A single security scheme definition, mapping a "name" to the scheme it defines.getSecurityOrThrow
(String key) A single security scheme definition, mapping a "name" to the scheme it defines.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 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
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.UsegetSecurityMap()
instead. -
getSecurityMap
Map<String,Openapiv2.SecurityScheme> 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
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
A single security scheme definition, mapping a "name" to the scheme it defines.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
-