public static enum ProcessorVersion.ModelType extends Enum<ProcessorVersion.ModelType> implements com.google.protobuf.ProtocolMessageEnum
The possible model types of the processor version.Protobuf enum
google.cloud.documentai.v1beta3.ProcessorVersion.ModelType| Enum Constant and Description |
|---|
MODEL_TYPE_CUSTOM
The processor version has custom model type.
|
MODEL_TYPE_GENERATIVE
The processor version has generative model type.
|
MODEL_TYPE_UNSPECIFIED
The processor version has unspecified model type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODEL_TYPE_CUSTOM_VALUE
The processor version has custom model type.
|
static int |
MODEL_TYPE_GENERATIVE_VALUE
The processor version has generative model type.
|
static int |
MODEL_TYPE_UNSPECIFIED_VALUE
The processor version has unspecified model type.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessorVersion.ModelType |
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<ProcessorVersion.ModelType> |
internalGetValueMap() |
static ProcessorVersion.ModelType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProcessorVersion.ModelType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProcessorVersion.ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessorVersion.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessorVersion.ModelType MODEL_TYPE_UNSPECIFIED
The processor version has unspecified model type.
MODEL_TYPE_UNSPECIFIED = 0;public static final ProcessorVersion.ModelType MODEL_TYPE_GENERATIVE
The processor version has generative model type.
MODEL_TYPE_GENERATIVE = 1;public static final ProcessorVersion.ModelType MODEL_TYPE_CUSTOM
The processor version has custom model type.
MODEL_TYPE_CUSTOM = 2;public static final ProcessorVersion.ModelType UNRECOGNIZED
public static final int MODEL_TYPE_UNSPECIFIED_VALUE
The processor version has unspecified model type.
MODEL_TYPE_UNSPECIFIED = 0;public static final int MODEL_TYPE_GENERATIVE_VALUE
The processor version has generative model type.
MODEL_TYPE_GENERATIVE = 1;public static final int MODEL_TYPE_CUSTOM_VALUE
The processor version has custom model type.
MODEL_TYPE_CUSTOM = 2;public static ProcessorVersion.ModelType[] values()
for (ProcessorVersion.ModelType c : ProcessorVersion.ModelType.values()) System.out.println(c);
public static ProcessorVersion.ModelType 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 ProcessorVersion.ModelType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ProcessorVersion.ModelType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ProcessorVersion.ModelType> 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 ProcessorVersion.ModelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.