public interface SecurityDefinitionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsSecurity(java.lang.String key)
A single security scheme definition, mapping a "name" to the scheme it
defines.
|
java.util.Map<java.lang.String,SecurityScheme> |
getSecurity()
Deprecated.
|
int |
getSecurityCount()
A single security scheme definition, mapping a "name" to the scheme it
defines.
|
java.util.Map<java.lang.String,SecurityScheme> |
getSecurityMap()
A single security scheme definition, mapping a "name" to the scheme it
defines.
|
SecurityScheme |
getSecurityOrDefault(java.lang.String key,
SecurityScheme defaultValue)
A single security scheme definition, mapping a "name" to the scheme it
defines.
|
SecurityScheme |
getSecurityOrThrow(java.lang.String key)
A single security scheme definition, mapping a "name" to the scheme it
defines.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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 [json_name = "security"];
boolean containsSecurity(java.lang.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 [json_name = "security"];
@Deprecated java.util.Map<java.lang.String,SecurityScheme> getSecurity()
getSecurityMap()
instead.java.util.Map<java.lang.String,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 [json_name = "security"];
SecurityScheme getSecurityOrDefault(java.lang.String key, 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 [json_name = "security"];
SecurityScheme getSecurityOrThrow(java.lang.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 [json_name = "security"];