public static enum SecurityScheme.In extends java.lang.Enum<SecurityScheme.In> implements com.google.protobuf.ProtocolMessageEnum
The location of the API key. Valid values are "query" or "header".Protobuf enum
grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In
Enum Constant and Description |
---|
IN_HEADER
IN_HEADER = 2; |
IN_INVALID
IN_INVALID = 0; |
IN_QUERY
IN_QUERY = 1; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
IN_HEADER_VALUE
IN_HEADER = 2; |
static int |
IN_INVALID_VALUE
IN_INVALID = 0; |
static int |
IN_QUERY_VALUE
IN_QUERY = 1; |
Modifier and Type | Method and Description |
---|---|
static SecurityScheme.In |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SecurityScheme.In> |
internalGetValueMap() |
static SecurityScheme.In |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecurityScheme.In |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecurityScheme.In |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityScheme.In[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityScheme.In IN_INVALID
IN_INVALID = 0;
public static final SecurityScheme.In IN_QUERY
IN_QUERY = 1;
public static final SecurityScheme.In IN_HEADER
IN_HEADER = 2;
public static final SecurityScheme.In UNRECOGNIZED
public static final int IN_INVALID_VALUE
IN_INVALID = 0;
public static final int IN_QUERY_VALUE
IN_QUERY = 1;
public static final int IN_HEADER_VALUE
IN_HEADER = 2;
public static SecurityScheme.In[] values()
for (SecurityScheme.In c : SecurityScheme.In.values()) System.out.println(c);
public static SecurityScheme.In valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static SecurityScheme.In valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SecurityScheme.In forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SecurityScheme.In> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SecurityScheme.In valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)