public static enum Openapiv2.JSONSchema.JSONSchemaSimpleTypes extends java.lang.Enum<Openapiv2.JSONSchema.JSONSchemaSimpleTypes> implements com.google.protobuf.ProtocolMessageEnum
grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes| Enum Constant and Description |
|---|
ARRAY
ARRAY = 1; |
BOOLEAN
BOOLEAN = 2; |
INTEGER
INTEGER = 3; |
NULL
NULL = 4; |
NUMBER
NUMBER = 5; |
OBJECT
OBJECT = 6; |
STRING
STRING = 7; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_VALUE
ARRAY = 1; |
static int |
BOOLEAN_VALUE
BOOLEAN = 2; |
static int |
INTEGER_VALUE
INTEGER = 3; |
static int |
NULL_VALUE
NULL = 4; |
static int |
NUMBER_VALUE
NUMBER = 5; |
static int |
OBJECT_VALUE
OBJECT = 6; |
static int |
STRING_VALUE
STRING = 7; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Openapiv2.JSONSchema.JSONSchemaSimpleTypes |
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<Openapiv2.JSONSchema.JSONSchemaSimpleTypes> |
internalGetValueMap() |
static Openapiv2.JSONSchema.JSONSchemaSimpleTypes |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Openapiv2.JSONSchema.JSONSchemaSimpleTypes |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Openapiv2.JSONSchema.JSONSchemaSimpleTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Openapiv2.JSONSchema.JSONSchemaSimpleTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes UNKNOWN
UNKNOWN = 0;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes ARRAY
ARRAY = 1;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes BOOLEAN
BOOLEAN = 2;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes INTEGER
INTEGER = 3;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes NULL
NULL = 4;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes NUMBER
NUMBER = 5;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes OBJECT
OBJECT = 6;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes STRING
STRING = 7;public static final Openapiv2.JSONSchema.JSONSchemaSimpleTypes UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int ARRAY_VALUE
ARRAY = 1;public static final int BOOLEAN_VALUE
BOOLEAN = 2;public static final int INTEGER_VALUE
INTEGER = 3;public static final int NULL_VALUE
NULL = 4;public static final int NUMBER_VALUE
NUMBER = 5;public static final int OBJECT_VALUE
OBJECT = 6;public static final int STRING_VALUE
STRING = 7;public static Openapiv2.JSONSchema.JSONSchemaSimpleTypes[] values()
for (Openapiv2.JSONSchema.JSONSchemaSimpleTypes c : Openapiv2.JSONSchema.JSONSchemaSimpleTypes.values()) System.out.println(c);
public static Openapiv2.JSONSchema.JSONSchemaSimpleTypes 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Openapiv2.JSONSchema.JSONSchemaSimpleTypes valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Openapiv2.JSONSchema.JSONSchemaSimpleTypes forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Openapiv2.JSONSchema.JSONSchemaSimpleTypes> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Openapiv2.JSONSchema.JSONSchemaSimpleTypes valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)