Enum EngineVersion.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EngineVersion.State>
- Enclosing class:
- EngineVersion
public static enum EngineVersion.State
extends Enum<EngineVersion.State>
implements com.google.protobuf.ProtocolMessageEnum
State determines the lifecycle of a version and the models/engine configs trained with it.Protobuf enum
google.cloud.financialservices.v1.EngineVersion.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVersion is available for training and inference.Version is deprecated, listed for informational purposes only.Models using this version can still be run, but new ones cannot be trained.Default state, should never be used. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intVersion is available for training and inference.static final intVersion is deprecated, listed for informational purposes only.static final intModels using this version can still be run, but new ones cannot be trained.static final intDefault state, should never be used. -
Method Summary
Modifier and TypeMethodDescriptionstatic EngineVersion.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EngineVersion.State>static EngineVersion.StatevalueOf(int value) Deprecated.static EngineVersion.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EngineVersion.StateReturns the enum constant of this type with the specified name.static EngineVersion.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Default state, should never be used.
STATE_UNSPECIFIED = 0; -
ACTIVE
Version is available for training and inference.
ACTIVE = 1; -
LIMITED
Models using this version can still be run, but new ones cannot be trained.
LIMITED = 2; -
DECOMMISSIONED
Version is deprecated, listed for informational purposes only.
DECOMMISSIONED = 3; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEDefault state, should never be used.
STATE_UNSPECIFIED = 0;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEVersion is available for training and inference.
ACTIVE = 1;- See Also:
-
LIMITED_VALUE
public static final int LIMITED_VALUEModels using this version can still be run, but new ones cannot be trained.
LIMITED = 2;- See Also:
-
DECOMMISSIONED_VALUE
public static final int DECOMMISSIONED_VALUEVersion is deprecated, listed for informational purposes only.
DECOMMISSIONED = 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
-
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
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
-