public static enum ExamplesOverride.DataFormat extends Enum<ExamplesOverride.DataFormat> implements com.google.protobuf.ProtocolMessageEnum
Data format enum.Protobuf enum
google.cloud.vertexai.v1.ExamplesOverride.DataFormat| Enum Constant and Description |
|---|
DATA_FORMAT_UNSPECIFIED
Unspecified format.
|
EMBEDDINGS
Provided data is a set of embeddings.
|
INSTANCES
Provided data is a set of model inputs.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FORMAT_UNSPECIFIED_VALUE
Unspecified format.
|
static int |
EMBEDDINGS_VALUE
Provided data is a set of embeddings.
|
static int |
INSTANCES_VALUE
Provided data is a set of model inputs.
|
| Modifier and Type | Method and Description |
|---|---|
static ExamplesOverride.DataFormat |
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<ExamplesOverride.DataFormat> |
internalGetValueMap() |
static ExamplesOverride.DataFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExamplesOverride.DataFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExamplesOverride.DataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExamplesOverride.DataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExamplesOverride.DataFormat DATA_FORMAT_UNSPECIFIED
Unspecified format. Must not be used.
DATA_FORMAT_UNSPECIFIED = 0;public static final ExamplesOverride.DataFormat INSTANCES
Provided data is a set of model inputs.
INSTANCES = 1;public static final ExamplesOverride.DataFormat EMBEDDINGS
Provided data is a set of embeddings.
EMBEDDINGS = 2;public static final ExamplesOverride.DataFormat UNRECOGNIZED
public static final int DATA_FORMAT_UNSPECIFIED_VALUE
Unspecified format. Must not be used.
DATA_FORMAT_UNSPECIFIED = 0;public static final int INSTANCES_VALUE
Provided data is a set of model inputs.
INSTANCES = 1;public static final int EMBEDDINGS_VALUE
Provided data is a set of embeddings.
EMBEDDINGS = 2;public static ExamplesOverride.DataFormat[] values()
for (ExamplesOverride.DataFormat c : ExamplesOverride.DataFormat.values()) System.out.println(c);
public static ExamplesOverride.DataFormat 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 ExamplesOverride.DataFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExamplesOverride.DataFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExamplesOverride.DataFormat> 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 ExamplesOverride.DataFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.