public static enum ModelSourceInfo.ModelSourceType extends Enum<ModelSourceInfo.ModelSourceType> implements com.google.protobuf.ProtocolMessageEnum
Source of the model. Different from `objective` field, this `ModelSourceType` enum indicates the source from which the model was accessed or obtained, whereas the `objective` indicates the overall aim or function of this model.Protobuf enum
google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType| Enum Constant and Description |
|---|
AUTOML
The Model is uploaded by automl training pipeline.
|
BQML
The Model is registered and sync'ed from BigQuery ML.
|
CUSTOM
The Model is uploaded by user or custom training pipeline.
|
CUSTOM_TEXT_EMBEDDING
The Model is uploaded by text embedding finetuning pipeline.
|
GENIE
The Model is saved or tuned from Genie.
|
MARKETPLACE
The Model is saved or tuned from Marketplace.
|
MODEL_GARDEN
The Model is saved or tuned from Model Garden.
|
MODEL_SOURCE_TYPE_UNSPECIFIED
Should not be used.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOML_VALUE
The Model is uploaded by automl training pipeline.
|
static int |
BQML_VALUE
The Model is registered and sync'ed from BigQuery ML.
|
static int |
CUSTOM_TEXT_EMBEDDING_VALUE
The Model is uploaded by text embedding finetuning pipeline.
|
static int |
CUSTOM_VALUE
The Model is uploaded by user or custom training pipeline.
|
static int |
GENIE_VALUE
The Model is saved or tuned from Genie.
|
static int |
MARKETPLACE_VALUE
The Model is saved or tuned from Marketplace.
|
static int |
MODEL_GARDEN_VALUE
The Model is saved or tuned from Model Garden.
|
static int |
MODEL_SOURCE_TYPE_UNSPECIFIED_VALUE
Should not be used.
|
| Modifier and Type | Method and Description |
|---|---|
static ModelSourceInfo.ModelSourceType |
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<ModelSourceInfo.ModelSourceType> |
internalGetValueMap() |
static ModelSourceInfo.ModelSourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ModelSourceInfo.ModelSourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ModelSourceInfo.ModelSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelSourceInfo.ModelSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelSourceInfo.ModelSourceType MODEL_SOURCE_TYPE_UNSPECIFIED
Should not be used.
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;public static final ModelSourceInfo.ModelSourceType AUTOML
The Model is uploaded by automl training pipeline.
AUTOML = 1;public static final ModelSourceInfo.ModelSourceType CUSTOM
The Model is uploaded by user or custom training pipeline.
CUSTOM = 2;public static final ModelSourceInfo.ModelSourceType BQML
The Model is registered and sync'ed from BigQuery ML.
BQML = 3;public static final ModelSourceInfo.ModelSourceType MODEL_GARDEN
The Model is saved or tuned from Model Garden.
MODEL_GARDEN = 4;public static final ModelSourceInfo.ModelSourceType GENIE
The Model is saved or tuned from Genie.
GENIE = 5;public static final ModelSourceInfo.ModelSourceType CUSTOM_TEXT_EMBEDDING
The Model is uploaded by text embedding finetuning pipeline.
CUSTOM_TEXT_EMBEDDING = 6;public static final ModelSourceInfo.ModelSourceType MARKETPLACE
The Model is saved or tuned from Marketplace.
MARKETPLACE = 7;public static final ModelSourceInfo.ModelSourceType UNRECOGNIZED
public static final int MODEL_SOURCE_TYPE_UNSPECIFIED_VALUE
Should not be used.
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;public static final int AUTOML_VALUE
The Model is uploaded by automl training pipeline.
AUTOML = 1;public static final int CUSTOM_VALUE
The Model is uploaded by user or custom training pipeline.
CUSTOM = 2;public static final int BQML_VALUE
The Model is registered and sync'ed from BigQuery ML.
BQML = 3;public static final int MODEL_GARDEN_VALUE
The Model is saved or tuned from Model Garden.
MODEL_GARDEN = 4;public static final int GENIE_VALUE
The Model is saved or tuned from Genie.
GENIE = 5;public static final int CUSTOM_TEXT_EMBEDDING_VALUE
The Model is uploaded by text embedding finetuning pipeline.
CUSTOM_TEXT_EMBEDDING = 6;public static final int MARKETPLACE_VALUE
The Model is saved or tuned from Marketplace.
MARKETPLACE = 7;public static ModelSourceInfo.ModelSourceType[] values()
for (ModelSourceInfo.ModelSourceType c : ModelSourceInfo.ModelSourceType.values()) System.out.println(c);
public static ModelSourceInfo.ModelSourceType 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 ModelSourceInfo.ModelSourceType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ModelSourceInfo.ModelSourceType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ModelSourceInfo.ModelSourceType> 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 ModelSourceInfo.ModelSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.