-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum Openapiv2.SecurityScheme.Flow implements ProtocolMessageEnum
Protobuf enumThe flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode".grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow
-
-
Field Summary
Fields Modifier and Type Field Description public final static intFLOW_INVALID_VALUEpublic final static intFLOW_IMPLICIT_VALUEpublic final static intFLOW_PASSWORD_VALUEpublic final static intFLOW_APPLICATION_VALUEpublic final static intFLOW_ACCESS_CODE_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_INVALIDFLOW_INVALID = 0;FLOW_IMPLICITFLOW_IMPLICIT = 1;FLOW_PASSWORDFLOW_PASSWORD = 2;FLOW_APPLICATIONFLOW_APPLICATION = 3;FLOW_ACCESS_CODEFLOW_ACCESS_CODE = 4;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static Openapiv2.SecurityScheme.FlowvalueOf(int value)static Openapiv2.SecurityScheme.FlowforNumber(int value)static Internal.EnumLiteMap<Openapiv2.SecurityScheme.Flow>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static Openapiv2.SecurityScheme.FlowvalueOf(Descriptors.EnumValueDescriptor desc)static Array<Openapiv2.SecurityScheme.Flow>values()static Openapiv2.SecurityScheme.FlowvalueOf(String name)-
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static Openapiv2.SecurityScheme.Flow valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.
-
forNumber
static Openapiv2.SecurityScheme.Flow forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.
-
internalGetValueMap
static Internal.EnumLiteMap<Openapiv2.SecurityScheme.Flow> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static Openapiv2.SecurityScheme.Flow valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<Openapiv2.SecurityScheme.Flow> values()
-
valueOf
static Openapiv2.SecurityScheme.Flow valueOf(String name)
-
-
-
-