Package com.google.cloud.aiplatform.v1
Enum MetadataSchema.MetadataSchemaType
java.lang.Object
java.lang.Enum<MetadataSchema.MetadataSchemaType>
com.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MetadataSchema.MetadataSchemaType>
- Enclosing class:
- MetadataSchema
public static enum MetadataSchema.MetadataSchemaType
extends Enum<MetadataSchema.MetadataSchemaType>
implements com.google.protobuf.ProtocolMessageEnum
Describes the type of the MetadataSchema.Protobuf enum
google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA type indicating that the MetadataSchema will be used by Artifacts.A state indicating that the MetadataSchema will be used by Contexts.A typee indicating that the MetadataSchema will be used by Executions.Unspecified type for the MetadataSchema. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA type indicating that the MetadataSchema will be used by Artifacts.static final intA state indicating that the MetadataSchema will be used by Contexts.static final intA typee indicating that the MetadataSchema will be used by Executions.static final intUnspecified type for the MetadataSchema. -
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<MetadataSchema.MetadataSchemaType>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.static MetadataSchema.MetadataSchemaType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METADATA_SCHEMA_TYPE_UNSPECIFIED
Unspecified type for the MetadataSchema.
METADATA_SCHEMA_TYPE_UNSPECIFIED = 0; -
ARTIFACT_TYPE
A type indicating that the MetadataSchema will be used by Artifacts.
ARTIFACT_TYPE = 1; -
EXECUTION_TYPE
A typee indicating that the MetadataSchema will be used by Executions.
EXECUTION_TYPE = 2; -
CONTEXT_TYPE
A state indicating that the MetadataSchema will be used by Contexts.
CONTEXT_TYPE = 3; -
UNRECOGNIZED
-
-
Field Details
-
METADATA_SCHEMA_TYPE_UNSPECIFIED_VALUE
public static final int METADATA_SCHEMA_TYPE_UNSPECIFIED_VALUEUnspecified type for the MetadataSchema.
METADATA_SCHEMA_TYPE_UNSPECIFIED = 0;- See Also:
-
ARTIFACT_TYPE_VALUE
public static final int ARTIFACT_TYPE_VALUEA type indicating that the MetadataSchema will be used by Artifacts.
ARTIFACT_TYPE = 1;- See Also:
-
EXECUTION_TYPE_VALUE
public static final int EXECUTION_TYPE_VALUEA typee indicating that the MetadataSchema will be used by Executions.
EXECUTION_TYPE = 2;- See Also:
-
CONTEXT_TYPE_VALUE
public static final int CONTEXT_TYPE_VALUEA state indicating that the MetadataSchema will be used by Contexts.
CONTEXT_TYPE = 3;- 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<MetadataSchema.MetadataSchemaType> 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 MetadataSchema.MetadataSchemaType 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
-