Package com.google.cloud.datacatalog.v1
Enum VertexModelSourceInfo.ModelSourceType
java.lang.Object
java.lang.Enum<VertexModelSourceInfo.ModelSourceType>
com.google.cloud.datacatalog.v1.VertexModelSourceInfo.ModelSourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<VertexModelSourceInfo.ModelSourceType>
- Enclosing class:
- VertexModelSourceInfo
public static enum VertexModelSourceInfo.ModelSourceType
extends Enum<VertexModelSourceInfo.ModelSourceType>
implements com.google.protobuf.ProtocolMessageEnum
Source of the model.Protobuf enum
google.cloud.datacatalog.v1.VertexModelSourceInfo.ModelSourceType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Model is uploaded by automl training pipeline.The Model is registered and sync'ed from BigQuery ML.The Model is uploaded by user or custom training pipeline.The Model is uploaded by text embedding finetuning pipeline.The Model is saved or tuned from Genie.The Model is saved or tuned from Marketplace.The Model is saved or tuned from Model Garden.Should not be used. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Model is uploaded by automl training pipeline.static final intThe Model is registered and sync'ed from BigQuery ML.static final intThe Model is uploaded by text embedding finetuning pipeline.static final intThe Model is uploaded by user or custom training pipeline.static final intThe Model is saved or tuned from Genie.static final intThe Model is saved or tuned from Marketplace.static final intThe Model is saved or tuned from Model Garden.static final intShould not be used. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<VertexModelSourceInfo.ModelSourceType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MODEL_SOURCE_TYPE_UNSPECIFIED
Should not be used.
MODEL_SOURCE_TYPE_UNSPECIFIED = 0; -
AUTOML
The Model is uploaded by automl training pipeline.
AUTOML = 1; -
CUSTOM
The Model is uploaded by user or custom training pipeline.
CUSTOM = 2; -
BQML
The Model is registered and sync'ed from BigQuery ML.
BQML = 3; -
MODEL_GARDEN
The Model is saved or tuned from Model Garden.
MODEL_GARDEN = 4; -
GENIE
The Model is saved or tuned from Genie.
GENIE = 5; -
CUSTOM_TEXT_EMBEDDING
The Model is uploaded by text embedding finetuning pipeline.
CUSTOM_TEXT_EMBEDDING = 6; -
MARKETPLACE
The Model is saved or tuned from Marketplace.
MARKETPLACE = 7; -
UNRECOGNIZED
-
-
Field Details
-
MODEL_SOURCE_TYPE_UNSPECIFIED_VALUE
public static final int MODEL_SOURCE_TYPE_UNSPECIFIED_VALUEShould not be used.
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;- See Also:
-
AUTOML_VALUE
public static final int AUTOML_VALUEThe Model is uploaded by automl training pipeline.
AUTOML = 1;- See Also:
-
CUSTOM_VALUE
public static final int CUSTOM_VALUEThe Model is uploaded by user or custom training pipeline.
CUSTOM = 2;- See Also:
-
BQML_VALUE
public static final int BQML_VALUEThe Model is registered and sync'ed from BigQuery ML.
BQML = 3;- See Also:
-
MODEL_GARDEN_VALUE
public static final int MODEL_GARDEN_VALUEThe Model is saved or tuned from Model Garden.
MODEL_GARDEN = 4;- See Also:
-
GENIE_VALUE
public static final int GENIE_VALUEThe Model is saved or tuned from Genie.
GENIE = 5;- See Also:
-
CUSTOM_TEXT_EMBEDDING_VALUE
public static final int CUSTOM_TEXT_EMBEDDING_VALUEThe Model is uploaded by text embedding finetuning pipeline.
CUSTOM_TEXT_EMBEDDING = 6;- See Also:
-
MARKETPLACE_VALUE
public static final int MARKETPLACE_VALUEThe Model is saved or tuned from Marketplace.
MARKETPLACE = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<VertexModelSourceInfo.ModelSourceType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static VertexModelSourceInfo.ModelSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-