Interface Openapiv2.SecurityRequirementOrBuilder

    • 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;
      • 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;