public enum Type extends Enum<Type> implements com.google.protobuf.ProtocolMessageEnum
Type contains the list of OpenAPI data types as defined by https://swagger.io/docs/specification/data-models/data-types/Protobuf enum
google.cloud.vertexai.v1.Type| Enum Constant and Description |
|---|
ARRAY
OpenAPI array type
ARRAY = 5; |
BOOLEAN
OpenAPI boolean type
BOOLEAN = 4; |
INTEGER
OpenAPI integer type
INTEGER = 3; |
NUMBER
OpenAPI number type
NUMBER = 2; |
OBJECT
OpenAPI object type
OBJECT = 6; |
STRING
OpenAPI string type
STRING = 1; |
TYPE_UNSPECIFIED
Not specified, should not be used.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_VALUE
OpenAPI array type
ARRAY = 5; |
static int |
BOOLEAN_VALUE
OpenAPI boolean type
BOOLEAN = 4; |
static int |
INTEGER_VALUE
OpenAPI integer type
INTEGER = 3; |
static int |
NUMBER_VALUE
OpenAPI number type
NUMBER = 2; |
static int |
OBJECT_VALUE
OpenAPI object type
OBJECT = 6; |
static int |
STRING_VALUE
OpenAPI string type
STRING = 1; |
static int |
TYPE_UNSPECIFIED_VALUE
Not specified, should not be used.
|
| Modifier and Type | Method and Description |
|---|---|
static Type |
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<Type> |
internalGetValueMap() |
static Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type TYPE_UNSPECIFIED
Not specified, should not be used.
TYPE_UNSPECIFIED = 0;public static final Type STRING
OpenAPI string type
STRING = 1;public static final Type NUMBER
OpenAPI number type
NUMBER = 2;public static final Type INTEGER
OpenAPI integer type
INTEGER = 3;public static final Type BOOLEAN
OpenAPI boolean type
BOOLEAN = 4;public static final Type ARRAY
OpenAPI array type
ARRAY = 5;public static final Type OBJECT
OpenAPI object type
OBJECT = 6;public static final Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Not specified, should not be used.
TYPE_UNSPECIFIED = 0;public static final int STRING_VALUE
OpenAPI string type
STRING = 1;public static final int NUMBER_VALUE
OpenAPI number type
NUMBER = 2;public static final int INTEGER_VALUE
OpenAPI integer type
INTEGER = 3;public static final int BOOLEAN_VALUE
OpenAPI boolean type
BOOLEAN = 4;public static final int ARRAY_VALUE
OpenAPI array type
ARRAY = 5;public static final int OBJECT_VALUE
OpenAPI object type
OBJECT = 6;public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - 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 Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Type> 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 Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.