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 Summary
Modifier and TypeMethodDescriptionbooleanEach name must correspond to a security scheme which is declared in the Security Definitions.Deprecated.intEach name must correspond to a security scheme which is declared in the Security Definitions.Each name must correspond to a security scheme which is declared in the Security Definitions.getSecurityRequirementOrDefault(String key, Openapiv2.SecurityRequirement.SecurityRequirementValue defaultValue) Each name must correspond to a security scheme which is declared in the Security Definitions.Each name must correspond to a security scheme which is declared in the Security Definitions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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 Map<String,Openapiv2.SecurityRequirement.SecurityRequirementValue> getSecurityRequirement()Deprecated.UsegetSecurityRequirementMap()instead. -
getSecurityRequirementMap
Map<String,Openapiv2.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; -
getSecurityRequirementOrDefault
Openapiv2.SecurityRequirement.SecurityRequirementValue getSecurityRequirementOrDefault(String key, Openapiv2.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; -
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;
-