public interface SecurityRequirementOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsSecurityRequirement(java.lang.String key)
Each name must correspond to a security scheme which is declared in
the Security Definitions.
|
java.util.Map<java.lang.String,SecurityRequirement.SecurityRequirementValue> |
getSecurityRequirement()
Deprecated.
|
int |
getSecurityRequirementCount()
Each name must correspond to a security scheme which is declared in
the Security Definitions.
|
java.util.Map<java.lang.String,SecurityRequirement.SecurityRequirementValue> |
getSecurityRequirementMap()
Each name must correspond to a security scheme which is declared in
the Security Definitions.
|
SecurityRequirement.SecurityRequirementValue |
getSecurityRequirementOrDefault(java.lang.String key,
SecurityRequirement.SecurityRequirementValue defaultValue)
Each name must correspond to a security scheme which is declared in
the Security Definitions.
|
SecurityRequirement.SecurityRequirementValue |
getSecurityRequirementOrThrow(java.lang.String key)
Each name must correspond to a security scheme which is declared in
the Security Definitions.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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 [json_name = "securityRequirement"];
boolean containsSecurityRequirement(java.lang.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 [json_name = "securityRequirement"];
@Deprecated java.util.Map<java.lang.String,SecurityRequirement.SecurityRequirementValue> getSecurityRequirement()
getSecurityRequirementMap()
instead.java.util.Map<java.lang.String,SecurityRequirement.SecurityRequirementValue> 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 [json_name = "securityRequirement"];
SecurityRequirement.SecurityRequirementValue getSecurityRequirementOrDefault(java.lang.String key, SecurityRequirement.SecurityRequirementValue defaultValue)
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 [json_name = "securityRequirement"];
SecurityRequirement.SecurityRequirementValue getSecurityRequirementOrThrow(java.lang.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 [json_name = "securityRequirement"];