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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsSecurityRequirement(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,Openapiv2.SecurityRequirement.SecurityRequirementValue>getSecurityRequirement()Deprecated.intgetSecurityRequirementCount()Each name must correspond to a security scheme which is declared in the Security Definitions.java.util.Map<java.lang.String,Openapiv2.SecurityRequirement.SecurityRequirementValue>getSecurityRequirementMap()Each name must correspond to a security scheme which is declared in the Security Definitions.Openapiv2.SecurityRequirement.SecurityRequirementValuegetSecurityRequirementOrDefault(java.lang.String key, Openapiv2.SecurityRequirement.SecurityRequirementValue defaultValue)Each name must correspond to a security scheme which is declared in the Security Definitions.Openapiv2.SecurityRequirement.SecurityRequirementValuegetSecurityRequirementOrThrow(java.lang.String key)Each name must correspond to a security scheme which is declared in the Security Definitions.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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;
-
getSecurityRequirement
@Deprecated java.util.Map<java.lang.String,Openapiv2.SecurityRequirement.SecurityRequirementValue> getSecurityRequirement()
Deprecated.UsegetSecurityRequirementMap()instead.
-
getSecurityRequirementMap
java.util.Map<java.lang.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(java.lang.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
Openapiv2.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;
-
-