public static final class SecurityScheme.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.
|
SecurityScheme.Builder |
clone() |
boolean |
containsExtensions(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.
|
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() |
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() |
Map<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.
|
Map<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(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(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.
|
Map<String,com.google.protobuf.Value> |
getMutableExtensions()
Deprecated.
|
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.
|
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SecurityScheme.Builder |
putAllExtensions(Map<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(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(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(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(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(String value)
A short description for security scheme.
|
SecurityScheme.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A short description for security scheme.
|
SecurityScheme.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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(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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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(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.
|
SecurityScheme.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SecurityScheme build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SecurityScheme buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SecurityScheme.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public SecurityScheme.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityScheme.Builder>IOExceptionpublic 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic 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 String getDescription()
A short description for security scheme.
string description = 2 [json_name = "description"];getDescription in interface SecuritySchemeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A short description for security scheme.
string description = 2 [json_name = "description"];getDescriptionBytes in interface SecuritySchemeOrBuilderpublic SecurityScheme.Builder setDescription(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 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic SecurityScheme.Builder setName(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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic 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 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic SecurityScheme.Builder setAuthorizationUrl(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 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic SecurityScheme.Builder setTokenUrl(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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic 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 SecuritySchemeOrBuilderpublic int getExtensionsCount()
SecuritySchemeOrBuilderCustom 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 SecuritySchemeOrBuilderpublic boolean containsExtensions(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 Map<String,com.google.protobuf.Value> getExtensions()
getExtensionsMap() instead.getExtensions in interface SecuritySchemeOrBuilderpublic Map<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 SecuritySchemeOrBuilderpublic com.google.protobuf.Value getExtensionsOrDefault(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 SecuritySchemeOrBuilderpublic com.google.protobuf.Value getExtensionsOrThrow(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 SecuritySchemeOrBuilderpublic SecurityScheme.Builder clearExtensions()
public SecurityScheme.Builder removeExtensions(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 Map<String,com.google.protobuf.Value> getMutableExtensions()
public SecurityScheme.Builder putExtensions(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(Map<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(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"];public final SecurityScheme.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>public final SecurityScheme.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityScheme.Builder>Copyright © 2024. All rights reserved.