public static final class SecurityScheme.Builder extends com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder> implements SecuritySchemeOrBuilder
`SecurityScheme` is a representation of OpenAPI v2 specification's Security Scheme object. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject Allows the definition of a security scheme that can be used by the operations. Supported schemes are basic authentication, an API key (either as a header or as a query parameter) and OAuth2's common flows (implicit, password, application and access code).Protobuf type
grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme
Modifier and Type | Method and Description |
---|---|
SecurityScheme |
build() |
SecurityScheme |
buildPartial() |
SecurityScheme.Builder |
clear() |
SecurityScheme.Builder |
clearAuthorizationUrl()
The authorization URL to be used for this flow.
|
SecurityScheme.Builder |
clearDescription()
A short description for security scheme.
|
SecurityScheme.Builder |
clearExtensions() |
SecurityScheme.Builder |
clearFlow()
The flow used by the OAuth2 security scheme.
|
SecurityScheme.Builder |
clearIn()
The location of the API key.
|
SecurityScheme.Builder |
clearName()
The name of the header or query parameter to be used.
|
SecurityScheme.Builder |
clearScopes()
The available scopes for the OAuth2 security scheme.
|
SecurityScheme.Builder |
clearTokenUrl()
The token URL to be used for this flow.
|
SecurityScheme.Builder |
clearType()
The type of the security scheme.
|
boolean |
containsExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
java.lang.String |
getAuthorizationUrl()
The authorization URL to be used for this flow.
|
com.google.protobuf.ByteString |
getAuthorizationUrlBytes()
The authorization URL to be used for this flow.
|
SecurityScheme |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
A short description for security scheme.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A short description for security scheme.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensions()
Deprecated.
|
int |
getExtensionsCount()
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensionsMap()
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
com.google.protobuf.Value |
getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
com.google.protobuf.Value |
getExtensionsOrThrow(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
SecurityScheme.Flow |
getFlow()
The flow used by the OAuth2 security scheme.
|
int |
getFlowValue()
The flow used by the OAuth2 security scheme.
|
SecurityScheme.In |
getIn()
The location of the API key.
|
int |
getInValue()
The location of the API key.
|
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getMutableExtensions()
Deprecated.
|
java.lang.String |
getName()
The name of the header or query parameter to be used.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the header or query parameter to be used.
|
Scopes |
getScopes()
The available scopes for the OAuth2 security scheme.
|
Scopes.Builder |
getScopesBuilder()
The available scopes for the OAuth2 security scheme.
|
ScopesOrBuilder |
getScopesOrBuilder()
The available scopes for the OAuth2 security scheme.
|
java.lang.String |
getTokenUrl()
The token URL to be used for this flow.
|
com.google.protobuf.ByteString |
getTokenUrlBytes()
The token URL to be used for this flow.
|
SecurityScheme.Type |
getType()
The type of the security scheme.
|
int |
getTypeValue()
The type of the security scheme.
|
boolean |
hasScopes()
The available scopes for the OAuth2 security scheme.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
SecurityScheme.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SecurityScheme.Builder |
mergeFrom(com.google.protobuf.Message other) |
SecurityScheme.Builder |
mergeFrom(SecurityScheme other) |
SecurityScheme.Builder |
mergeScopes(Scopes value)
The available scopes for the OAuth2 security scheme.
|
SecurityScheme.Builder |
putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
SecurityScheme.Builder |
putExtensions(java.lang.String key,
com.google.protobuf.Value value)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
com.google.protobuf.Value.Builder |
putExtensionsBuilderIfAbsent(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
SecurityScheme.Builder |
removeExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
SecurityScheme.Builder |
setAuthorizationUrl(java.lang.String value)
The authorization URL to be used for this flow.
|
SecurityScheme.Builder |
setAuthorizationUrlBytes(com.google.protobuf.ByteString value)
The authorization URL to be used for this flow.
|
SecurityScheme.Builder |
setDescription(java.lang.String value)
A short description for security scheme.
|
SecurityScheme.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A short description for security scheme.
|
SecurityScheme.Builder |
setFlow(SecurityScheme.Flow value)
The flow used by the OAuth2 security scheme.
|
SecurityScheme.Builder |
setFlowValue(int value)
The flow used by the OAuth2 security scheme.
|
SecurityScheme.Builder |
setIn(SecurityScheme.In value)
The location of the API key.
|
SecurityScheme.Builder |
setInValue(int value)
The location of the API key.
|
SecurityScheme.Builder |
setName(java.lang.String value)
The name of the header or query parameter to be used.
|
SecurityScheme.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the header or query parameter to be used.
|
SecurityScheme.Builder |
setScopes(Scopes.Builder builderForValue)
The available scopes for the OAuth2 security scheme.
|
SecurityScheme.Builder |
setScopes(Scopes value)
The available scopes for the OAuth2 security scheme.
|
SecurityScheme.Builder |
setTokenUrl(java.lang.String value)
The token URL to be used for this flow.
|
SecurityScheme.Builder |
setTokenUrlBytes(com.google.protobuf.ByteString value)
The token URL to be used for this flow.
|
SecurityScheme.Builder |
setType(SecurityScheme.Type value)
The type of the security scheme.
|
SecurityScheme.Builder |
setTypeValue(int value)
The type of the security scheme.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection
in class com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder>
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection
in class com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder>
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder>
public SecurityScheme.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder>
public SecurityScheme getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SecurityScheme build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SecurityScheme buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SecurityScheme.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SecurityScheme.Builder>
public SecurityScheme.Builder mergeFrom(SecurityScheme other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<SecurityScheme.Builder>
public SecurityScheme.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SecurityScheme.Builder>
java.io.IOException
public int getTypeValue()
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1 [json_name = "type"];
getTypeValue
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setTypeValue(int value)
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1 [json_name = "type"];
value
- The enum numeric value on the wire for type to set.public SecurityScheme.Type getType()
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1 [json_name = "type"];
getType
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setType(SecurityScheme.Type value)
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1 [json_name = "type"];
value
- The type to set.public SecurityScheme.Builder clearType()
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1 [json_name = "type"];
public java.lang.String getDescription()
A short description for security scheme.
string description = 2 [json_name = "description"];
getDescription
in interface SecuritySchemeOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
A short description for security scheme.
string description = 2 [json_name = "description"];
getDescriptionBytes
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setDescription(java.lang.String value)
A short description for security scheme.
string description = 2 [json_name = "description"];
value
- The description to set.public SecurityScheme.Builder clearDescription()
A short description for security scheme.
string description = 2 [json_name = "description"];
public SecurityScheme.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A short description for security scheme.
string description = 2 [json_name = "description"];
value
- The bytes for description to set.public java.lang.String getName()
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3 [json_name = "name"];
getName
in interface SecuritySchemeOrBuilder
public com.google.protobuf.ByteString getNameBytes()
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3 [json_name = "name"];
getNameBytes
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setName(java.lang.String value)
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3 [json_name = "name"];
value
- The name to set.public SecurityScheme.Builder clearName()
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3 [json_name = "name"];
public SecurityScheme.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3 [json_name = "name"];
value
- The bytes for name to set.public int getInValue()
The location of the API key. Valid values are "query" or "header". Valid for apiKey.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4 [json_name = "in"];
getInValue
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setInValue(int value)
The location of the API key. Valid values are "query" or "header". Valid for apiKey.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4 [json_name = "in"];
value
- The enum numeric value on the wire for in to set.public SecurityScheme.In getIn()
The location of the API key. Valid values are "query" or "header". Valid for apiKey.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4 [json_name = "in"];
getIn
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setIn(SecurityScheme.In value)
The location of the API key. Valid values are "query" or "header". Valid for apiKey.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4 [json_name = "in"];
value
- The in to set.public SecurityScheme.Builder clearIn()
The location of the API key. Valid values are "query" or "header". Valid for apiKey.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4 [json_name = "in"];
public int getFlowValue()
The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5 [json_name = "flow"];
getFlowValue
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setFlowValue(int value)
The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5 [json_name = "flow"];
value
- The enum numeric value on the wire for flow to set.public SecurityScheme.Flow getFlow()
The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5 [json_name = "flow"];
getFlow
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setFlow(SecurityScheme.Flow value)
The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5 [json_name = "flow"];
value
- The flow to set.public SecurityScheme.Builder clearFlow()
The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5 [json_name = "flow"];
public java.lang.String getAuthorizationUrl()
The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/implicit and oauth2/accessCode.
string authorization_url = 6 [json_name = "authorizationUrl"];
getAuthorizationUrl
in interface SecuritySchemeOrBuilder
public com.google.protobuf.ByteString getAuthorizationUrlBytes()
The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/implicit and oauth2/accessCode.
string authorization_url = 6 [json_name = "authorizationUrl"];
getAuthorizationUrlBytes
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setAuthorizationUrl(java.lang.String value)
The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/implicit and oauth2/accessCode.
string authorization_url = 6 [json_name = "authorizationUrl"];
value
- The authorizationUrl to set.public SecurityScheme.Builder clearAuthorizationUrl()
The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/implicit and oauth2/accessCode.
string authorization_url = 6 [json_name = "authorizationUrl"];
public SecurityScheme.Builder setAuthorizationUrlBytes(com.google.protobuf.ByteString value)
The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/implicit and oauth2/accessCode.
string authorization_url = 6 [json_name = "authorizationUrl"];
value
- The bytes for authorizationUrl to set.public java.lang.String getTokenUrl()
The token URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/password, oauth2/application and oauth2/accessCode.
string token_url = 7 [json_name = "tokenUrl"];
getTokenUrl
in interface SecuritySchemeOrBuilder
public com.google.protobuf.ByteString getTokenUrlBytes()
The token URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/password, oauth2/application and oauth2/accessCode.
string token_url = 7 [json_name = "tokenUrl"];
getTokenUrlBytes
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setTokenUrl(java.lang.String value)
The token URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/password, oauth2/application and oauth2/accessCode.
string token_url = 7 [json_name = "tokenUrl"];
value
- The tokenUrl to set.public SecurityScheme.Builder clearTokenUrl()
The token URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/password, oauth2/application and oauth2/accessCode.
string token_url = 7 [json_name = "tokenUrl"];
public SecurityScheme.Builder setTokenUrlBytes(com.google.protobuf.ByteString value)
The token URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/password, oauth2/application and oauth2/accessCode.
string token_url = 7 [json_name = "tokenUrl"];
value
- The bytes for tokenUrl to set.public boolean hasScopes()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
hasScopes
in interface SecuritySchemeOrBuilder
public Scopes getScopes()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
getScopes
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder setScopes(Scopes value)
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
public SecurityScheme.Builder setScopes(Scopes.Builder builderForValue)
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
public SecurityScheme.Builder mergeScopes(Scopes value)
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
public SecurityScheme.Builder clearScopes()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
public Scopes.Builder getScopesBuilder()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
public ScopesOrBuilder getScopesOrBuilder()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8 [json_name = "scopes"];
getScopesOrBuilder
in interface SecuritySchemeOrBuilder
public int getExtensionsCount()
SecuritySchemeOrBuilder
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
getExtensionsCount
in interface SecuritySchemeOrBuilder
public boolean containsExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
containsExtensions
in interface SecuritySchemeOrBuilder
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensions()
getExtensionsMap()
instead.getExtensions
in interface SecuritySchemeOrBuilder
public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensionsMap()
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
getExtensionsMap
in interface SecuritySchemeOrBuilder
public com.google.protobuf.Value getExtensionsOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
getExtensionsOrDefault
in interface SecuritySchemeOrBuilder
public com.google.protobuf.Value getExtensionsOrThrow(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
getExtensionsOrThrow
in interface SecuritySchemeOrBuilder
public SecurityScheme.Builder clearExtensions()
public SecurityScheme.Builder removeExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getMutableExtensions()
public SecurityScheme.Builder putExtensions(java.lang.String key, com.google.protobuf.Value value)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
public SecurityScheme.Builder putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];
public com.google.protobuf.Value.Builder putExtensionsBuilderIfAbsent(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9 [json_name = "extensions"];