Class Openapiv2.SecurityScheme.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityScheme.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Openapiv2.SecuritySchemeOrBuilder
,Cloneable
- Enclosing class:
- Openapiv2.SecurityScheme
public static final class Openapiv2.SecurityScheme.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
implements Openapiv2.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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
The authorization URL to be used for this flow.A short description for security scheme.The flow used by the OAuth2 security scheme.clearIn()
The location of the API key.The name of the header or query parameter to be used.The available scopes for the OAuth2 security scheme.The token URL to be used for this flow.The type of the security scheme.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.The authorization URL to be used for this flow.com.google.protobuf.ByteString
The authorization URL to be used for this flow.A short description for security scheme.com.google.protobuf.ByteString
A short description for security scheme.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.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
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.getFlow()
The flow used by the OAuth2 security scheme.int
The flow used by the OAuth2 security scheme.getIn()
The location of the API key.int
The location of the API key.Deprecated.getName()
The name of the header or query parameter to be used.com.google.protobuf.ByteString
The name of the header or query parameter to be used.The available scopes for the OAuth2 security scheme.The available scopes for the OAuth2 security scheme.The available scopes for the OAuth2 security scheme.The token URL to be used for this flow.com.google.protobuf.ByteString
The token URL to be used for this flow.getType()
The type of the security scheme.int
The type of the security scheme.boolean
The available scopes for the OAuth2 security scheme.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeScopes
(Openapiv2.Scopes value) The available scopes for the OAuth2 security scheme.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.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
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.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.setAuthorizationUrl
(String value) The authorization URL to be used for this flow.setAuthorizationUrlBytes
(com.google.protobuf.ByteString value) The authorization URL to be used for this flow.setDescription
(String value) A short description for security scheme.setDescriptionBytes
(com.google.protobuf.ByteString value) A short description for security scheme.The flow used by the OAuth2 security scheme.setFlowValue
(int value) The flow used by the OAuth2 security scheme.setIn
(Openapiv2.SecurityScheme.In value) The location of the API key.setInValue
(int value) The location of the API key.The name of the header or query parameter to be used.setNameBytes
(com.google.protobuf.ByteString value) The name of the header or query parameter to be used.setScopes
(Openapiv2.Scopes value) The available scopes for the OAuth2 security scheme.setScopes
(Openapiv2.Scopes.Builder builderForValue) The available scopes for the OAuth2 security scheme.setTokenUrl
(String value) The token URL to be used for this flow.setTokenUrlBytes
(com.google.protobuf.ByteString value) The token URL to be used for this flow.The type of the security scheme.setTypeValue
(int value) The type of the security scheme.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Openapiv2.SecurityScheme.Builder>
-
mergeFrom
public Openapiv2.SecurityScheme.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Openapiv2.SecurityScheme.Builder>
- Throws:
IOException
-
getTypeValue
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;
- Specified by:
getTypeValue
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1;
- Specified by:
getType
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The type.
-
setType
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".
.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1;
- Returns:
- This builder for chaining.
-
getDescription
A short description for security scheme.
string description = 2;
- Specified by:
getDescription
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A short description for security scheme.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The bytes for description.
-
setDescription
A short description for security scheme.
string description = 2;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A short description for security scheme.
string description = 2;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
A short description for security scheme.
string description = 2;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getName
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;
- Specified by:
getName
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;
- Specified by:
getNameBytes
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The bytes for name.
-
setName
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;
- Returns:
- This builder for chaining.
-
setNameBytes
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInValue
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;
- Specified by:
getInValue
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The enum numeric value on the wire for in.
-
setInValue
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;
- Parameters:
value
- The enum numeric value on the wire for in to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getIn
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The in.
-
setIn
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;
- Parameters:
value
- The in to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
getFlowValue
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;
- Specified by:
getFlowValue
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The enum numeric value on the wire for flow.
-
setFlowValue
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;
- Parameters:
value
- The enum numeric value on the wire for flow to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getFlow
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The flow.
-
setFlow
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;
- Parameters:
value
- The flow to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getAuthorizationUrl
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The authorizationUrl.
-
getAuthorizationUrlBytes
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;
- Specified by:
getAuthorizationUrlBytes
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The bytes for authorizationUrl.
-
setAuthorizationUrl
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;
- Parameters:
value
- The authorizationUrl to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setAuthorizationUrlBytes
public Openapiv2.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;
- Parameters:
value
- The bytes for authorizationUrl to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getTokenUrl
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The tokenUrl.
-
getTokenUrlBytes
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;
- Specified by:
getTokenUrlBytes
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The bytes for tokenUrl.
-
setTokenUrl
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;
- Parameters:
value
- The tokenUrl to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setTokenUrlBytes
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;
- Parameters:
value
- The bytes for tokenUrl to set.- Returns:
- This builder for chaining.
-
hasScopes
public boolean hasScopes()The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
- Specified by:
hasScopes
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- Whether the scopes field is set.
-
getScopes
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
- Specified by:
getScopes
in interfaceOpenapiv2.SecuritySchemeOrBuilder
- Returns:
- The scopes.
-
setScopes
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
-
setScopes
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
-
mergeScopes
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
-
clearScopes
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
-
getScopesBuilder
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
-
getScopesOrBuilder
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;
- Specified by:
getScopesOrBuilder
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
getExtensionsCount
public int getExtensionsCount()Description copied from interface:Openapiv2.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;
- Specified by:
getExtensionsCount
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
containsExtensions
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;
- Specified by:
containsExtensions
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
getExtensions
Deprecated.UsegetExtensionsMap()
instead.- Specified by:
getExtensions
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
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;
- Specified by:
getExtensionsMap
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
getExtensionsOrDefault
public 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;
- Specified by:
getExtensionsOrDefault
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
getExtensionsOrThrow
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;
- Specified by:
getExtensionsOrThrow
in interfaceOpenapiv2.SecuritySchemeOrBuilder
-
clearExtensions
-
removeExtensions
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;
-
getMutableExtensions
Deprecated.Use alternate mutation accessors instead. -
putExtensions
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;
-
putAllExtensions
public Openapiv2.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;
-
putExtensionsBuilderIfAbsent
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;
-