public static final class Openapiv2.SecurityScheme.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
Openapiv2.SecurityScheme.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Openapiv2.SecurityScheme |
build() |
Openapiv2.SecurityScheme |
buildPartial() |
Openapiv2.SecurityScheme.Builder |
clear() |
Openapiv2.SecurityScheme.Builder |
clearAuthorizationUrl()
The authorization URL to be used for this flow.
|
Openapiv2.SecurityScheme.Builder |
clearDescription()
A short description for security scheme.
|
Openapiv2.SecurityScheme.Builder |
clearExtensions() |
Openapiv2.SecurityScheme.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Openapiv2.SecurityScheme.Builder |
clearFlow()
The flow used by the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
clearIn()
The location of the API key.
|
Openapiv2.SecurityScheme.Builder |
clearName()
The name of the header or query parameter to be used.
|
Openapiv2.SecurityScheme.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Openapiv2.SecurityScheme.Builder |
clearScopes()
The available scopes for the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
clearTokenUrl()
The token URL to be used for this flow.
|
Openapiv2.SecurityScheme.Builder |
clearType()
The type of the security scheme.
|
Openapiv2.SecurityScheme.Builder |
clone() |
boolean |
containsExtensions(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 9; |
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.
|
Openapiv2.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()
map<string, .google.protobuf.Value> extensions = 9; |
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensionsMap()
map<string, .google.protobuf.Value> extensions = 9; |
com.google.protobuf.Value |
getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
map<string, .google.protobuf.Value> extensions = 9; |
com.google.protobuf.Value |
getExtensionsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 9; |
Openapiv2.SecurityScheme.Flow |
getFlow()
The flow used by the OAuth2 security scheme.
|
int |
getFlowValue()
The flow used by the OAuth2 security scheme.
|
Openapiv2.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.
|
Openapiv2.Scopes |
getScopes()
The available scopes for the OAuth2 security scheme.
|
Openapiv2.Scopes.Builder |
getScopesBuilder()
The available scopes for the OAuth2 security scheme.
|
Openapiv2.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.
|
Openapiv2.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.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Openapiv2.SecurityScheme.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Openapiv2.SecurityScheme.Builder |
mergeFrom(com.google.protobuf.Message other) |
Openapiv2.SecurityScheme.Builder |
mergeFrom(Openapiv2.SecurityScheme other) |
Openapiv2.SecurityScheme.Builder |
mergeScopes(Openapiv2.Scopes value)
The available scopes for the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Openapiv2.SecurityScheme.Builder |
putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
map<string, .google.protobuf.Value> extensions = 9; |
Openapiv2.SecurityScheme.Builder |
putExtensions(java.lang.String key,
com.google.protobuf.Value value)
map<string, .google.protobuf.Value> extensions = 9; |
Openapiv2.SecurityScheme.Builder |
removeExtensions(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 9; |
Openapiv2.SecurityScheme.Builder |
setAuthorizationUrl(java.lang.String value)
The authorization URL to be used for this flow.
|
Openapiv2.SecurityScheme.Builder |
setAuthorizationUrlBytes(com.google.protobuf.ByteString value)
The authorization URL to be used for this flow.
|
Openapiv2.SecurityScheme.Builder |
setDescription(java.lang.String value)
A short description for security scheme.
|
Openapiv2.SecurityScheme.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A short description for security scheme.
|
Openapiv2.SecurityScheme.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Openapiv2.SecurityScheme.Builder |
setFlow(Openapiv2.SecurityScheme.Flow value)
The flow used by the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
setFlowValue(int value)
The flow used by the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
setIn(Openapiv2.SecurityScheme.In value)
The location of the API key.
|
Openapiv2.SecurityScheme.Builder |
setInValue(int value)
The location of the API key.
|
Openapiv2.SecurityScheme.Builder |
setName(java.lang.String value)
The name of the header or query parameter to be used.
|
Openapiv2.SecurityScheme.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the header or query parameter to be used.
|
Openapiv2.SecurityScheme.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Openapiv2.SecurityScheme.Builder |
setScopes(Openapiv2.Scopes.Builder builderForValue)
The available scopes for the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
setScopes(Openapiv2.Scopes value)
The available scopes for the OAuth2 security scheme.
|
Openapiv2.SecurityScheme.Builder |
setTokenUrl(java.lang.String value)
The token URL to be used for this flow.
|
Openapiv2.SecurityScheme.Builder |
setTokenUrlBytes(com.google.protobuf.ByteString value)
The token URL to be used for this flow.
|
Openapiv2.SecurityScheme.Builder |
setType(Openapiv2.SecurityScheme.Type value)
The type of the security scheme.
|
Openapiv2.SecurityScheme.Builder |
setTypeValue(int value)
The type of the security scheme.
|
Openapiv2.SecurityScheme.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.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<Openapiv2.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<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Openapiv2.SecurityScheme build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Openapiv2.SecurityScheme buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Openapiv2.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<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder mergeFrom(Openapiv2.SecurityScheme other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public Openapiv2.SecurityScheme.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Openapiv2.SecurityScheme.Builder>java.io.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;getTypeValue in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.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;value - The enum numeric value on the wire for type to set.public Openapiv2.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;getType in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder setType(Openapiv2.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;value - The type to set.public Openapiv2.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;public java.lang.String getDescription()
A short description for security scheme.
string description = 2;getDescription in interface Openapiv2.SecuritySchemeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A short description for security scheme.
string description = 2;getDescriptionBytes in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder setDescription(java.lang.String value)
A short description for security scheme.
string description = 2;value - The description to set.public Openapiv2.SecurityScheme.Builder clearDescription()
A short description for security scheme.
string description = 2;public Openapiv2.SecurityScheme.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A short description for security scheme.
string description = 2;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;getName in interface Openapiv2.SecuritySchemeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;getNameBytes in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder setName(java.lang.String value)
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;value - The name to set.public Openapiv2.SecurityScheme.Builder clearName()
The name of the header or query parameter to be used. Valid for apiKey.
string name = 3;public Openapiv2.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;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;getInValue in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.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;value - The enum numeric value on the wire for in to set.public Openapiv2.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;getIn in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder setIn(Openapiv2.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;value - The in to set.public Openapiv2.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;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;getFlowValue in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.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;value - The enum numeric value on the wire for flow to set.public Openapiv2.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;getFlow in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder setFlow(Openapiv2.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;value - The flow to set.public Openapiv2.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;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;getAuthorizationUrl in interface Openapiv2.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;getAuthorizationUrlBytes in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.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;value - The authorizationUrl to set.public Openapiv2.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;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;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;getTokenUrl in interface Openapiv2.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;getTokenUrlBytes in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.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;value - The tokenUrl to set.public Openapiv2.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;public Openapiv2.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;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;hasScopes in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.Scopes getScopes()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;getScopes in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder setScopes(Openapiv2.Scopes value)
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;public Openapiv2.SecurityScheme.Builder setScopes(Openapiv2.Scopes.Builder builderForValue)
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;public Openapiv2.SecurityScheme.Builder mergeScopes(Openapiv2.Scopes value)
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;public Openapiv2.SecurityScheme.Builder clearScopes()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;public Openapiv2.Scopes.Builder getScopesBuilder()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;public Openapiv2.ScopesOrBuilder getScopesOrBuilder()
The available scopes for the OAuth2 security scheme. Valid for oauth2.
.grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8;getScopesOrBuilder in interface Openapiv2.SecuritySchemeOrBuilderpublic int getExtensionsCount()
Openapiv2.SecuritySchemeOrBuildermap<string, .google.protobuf.Value> extensions = 9;getExtensionsCount in interface Openapiv2.SecuritySchemeOrBuilderpublic boolean containsExtensions(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 9;containsExtensions in interface Openapiv2.SecuritySchemeOrBuilder@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensions()
getExtensionsMap() instead.getExtensions in interface Openapiv2.SecuritySchemeOrBuilderpublic java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensionsMap()
map<string, .google.protobuf.Value> extensions = 9;getExtensionsMap in interface Openapiv2.SecuritySchemeOrBuilderpublic com.google.protobuf.Value getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
map<string, .google.protobuf.Value> extensions = 9;getExtensionsOrDefault in interface Openapiv2.SecuritySchemeOrBuilderpublic com.google.protobuf.Value getExtensionsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 9;getExtensionsOrThrow in interface Openapiv2.SecuritySchemeOrBuilderpublic Openapiv2.SecurityScheme.Builder clearExtensions()
public Openapiv2.SecurityScheme.Builder removeExtensions(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 9;@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getMutableExtensions()
public Openapiv2.SecurityScheme.Builder putExtensions(java.lang.String key, com.google.protobuf.Value value)
map<string, .google.protobuf.Value> extensions = 9;public Openapiv2.SecurityScheme.Builder putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
map<string, .google.protobuf.Value> extensions = 9;public final Openapiv2.SecurityScheme.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>public final Openapiv2.SecurityScheme.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.SecurityScheme.Builder>