public static enum ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType extends Enum<ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType> implements com.google.protobuf.ProtocolMessageEnum
The type of custom model created by the user.Protobuf enum
google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType| Enum Constant and Description |
|---|
CUSTOM_MODEL_TYPE_UNSPECIFIED
The model type is unspecified.
|
FINE_TUNED
The model is a finetuned foundation model.
|
UNRECOGNIZED |
VERSIONED_FOUNDATION
The model is a versioned foundation model.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_MODEL_TYPE_UNSPECIFIED_VALUE
The model type is unspecified.
|
static int |
FINE_TUNED_VALUE
The model is a finetuned foundation model.
|
static int |
VERSIONED_FOUNDATION_VALUE
The model is a versioned foundation model.
|
public static final ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType CUSTOM_MODEL_TYPE_UNSPECIFIED
The model type is unspecified.
CUSTOM_MODEL_TYPE_UNSPECIFIED = 0;public static final ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType VERSIONED_FOUNDATION
The model is a versioned foundation model.
VERSIONED_FOUNDATION = 1;public static final ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType FINE_TUNED
The model is a finetuned foundation model.
FINE_TUNED = 2;public static final ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType UNRECOGNIZED
public static final int CUSTOM_MODEL_TYPE_UNSPECIFIED_VALUE
The model type is unspecified.
CUSTOM_MODEL_TYPE_UNSPECIFIED = 0;public static final int VERSIONED_FOUNDATION_VALUE
The model is a versioned foundation model.
VERSIONED_FOUNDATION = 1;public static final int FINE_TUNED_VALUE
The model is a finetuned foundation model.
FINE_TUNED = 2;public static ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType[] values()
for (ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType c : ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType.values()) System.out.println(c);
public static ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType 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.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType> 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.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.