Package org.mlflow.api.proto
Enum Class Webhooks.WebhookEntity
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Webhooks.WebhookEntity>,Constable
- Enclosing class:
- Webhooks
public static enum Webhooks.WebhookEntity
extends Enum<Webhooks.WebhookEntity>
implements com.google.protobuf.ProtocolMessageEnum
Webhook entity typesProtobuf enum
mlflow.WebhookEntity-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault/unknown entityModel version entityModel version alias entityModel version tag entityPrompt entityPrompt alias entityPrompt tag entityPrompt version entityPrompt version tag entityRegistered model entity -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault/unknown entitystatic final intModel version alias entitystatic final intModel version tag entitystatic final intModel version entitystatic final intPrompt alias entitystatic final intPrompt tag entitystatic final intPrompt entitystatic final intPrompt version tag entitystatic final intPrompt version entitystatic final intRegistered model entity -
Method Summary
Modifier and TypeMethodDescriptionstatic Webhooks.WebhookEntityforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Webhooks.WebhookEntity>static Webhooks.WebhookEntityvalueOf(int value) Deprecated.static Webhooks.WebhookEntityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Webhooks.WebhookEntityReturns the enum constant of this class with the specified name.static Webhooks.WebhookEntity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENTITY_UNSPECIFIED
Default/unknown entity
ENTITY_UNSPECIFIED = 0; -
REGISTERED_MODEL
Registered model entity
REGISTERED_MODEL = 1; -
MODEL_VERSION
Model version entity
MODEL_VERSION = 2; -
MODEL_VERSION_TAG
Model version tag entity
MODEL_VERSION_TAG = 3; -
MODEL_VERSION_ALIAS
Model version alias entity
MODEL_VERSION_ALIAS = 4; -
PROMPT
Prompt entity
PROMPT = 5; -
PROMPT_VERSION
Prompt version entity
PROMPT_VERSION = 6; -
PROMPT_TAG
Prompt tag entity
PROMPT_TAG = 7; -
PROMPT_VERSION_TAG
Prompt version tag entity
PROMPT_VERSION_TAG = 8; -
PROMPT_ALIAS
Prompt alias entity
PROMPT_ALIAS = 9;
-
-
Field Details
-
ENTITY_UNSPECIFIED_VALUE
public static final int ENTITY_UNSPECIFIED_VALUEDefault/unknown entity
ENTITY_UNSPECIFIED = 0;- See Also:
-
REGISTERED_MODEL_VALUE
public static final int REGISTERED_MODEL_VALUERegistered model entity
REGISTERED_MODEL = 1;- See Also:
-
MODEL_VERSION_VALUE
public static final int MODEL_VERSION_VALUEModel version entity
MODEL_VERSION = 2;- See Also:
-
MODEL_VERSION_TAG_VALUE
public static final int MODEL_VERSION_TAG_VALUEModel version tag entity
MODEL_VERSION_TAG = 3;- See Also:
-
MODEL_VERSION_ALIAS_VALUE
public static final int MODEL_VERSION_ALIAS_VALUEModel version alias entity
MODEL_VERSION_ALIAS = 4;- See Also:
-
PROMPT_VALUE
public static final int PROMPT_VALUEPrompt entity
PROMPT = 5;- See Also:
-
PROMPT_VERSION_VALUE
public static final int PROMPT_VERSION_VALUEPrompt version entity
PROMPT_VERSION = 6;- See Also:
-
PROMPT_TAG_VALUE
public static final int PROMPT_TAG_VALUEPrompt tag entity
PROMPT_TAG = 7;- See Also:
-
PROMPT_VERSION_TAG_VALUE
public static final int PROMPT_VERSION_TAG_VALUEPrompt version tag entity
PROMPT_VERSION_TAG = 8;- See Also:
-
PROMPT_ALIAS_VALUE
public static final int PROMPT_ALIAS_VALUEPrompt alias entity
PROMPT_ALIAS = 9;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<Webhooks.WebhookEntity> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Webhooks.WebhookEntity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-