Package org.mlflow.api.proto
Enum Webhooks.WebhookEntity
- java.lang.Object
-
- java.lang.Enum<Webhooks.WebhookEntity>
-
- org.mlflow.api.proto.Webhooks.WebhookEntity
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Webhooks.WebhookEntity>
- Enclosing class:
- Webhooks
public static enum Webhooks.WebhookEntity extends java.lang.Enum<Webhooks.WebhookEntity> implements com.google.protobuf.ProtocolMessageEnum
Webhook entity types
Protobuf enummlflow.WebhookEntity
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTITY_UNSPECIFIEDDefault/unknown entityMODEL_VERSIONModel version entityMODEL_VERSION_ALIASModel version alias entityMODEL_VERSION_TAGModel version tag entityPROMPTPrompt entityPROMPT_ALIASPrompt alias entityPROMPT_TAGPrompt tag entityPROMPT_VERSIONPrompt version entityPROMPT_VERSION_TAGPrompt version tag entityREGISTERED_MODELRegistered model entity
-
Field Summary
Fields Modifier and Type Field Description static intENTITY_UNSPECIFIED_VALUEDefault/unknown entitystatic intMODEL_VERSION_ALIAS_VALUEModel version alias entitystatic intMODEL_VERSION_TAG_VALUEModel version tag entitystatic intMODEL_VERSION_VALUEModel version entitystatic intPROMPT_ALIAS_VALUEPrompt alias entitystatic intPROMPT_TAG_VALUEPrompt tag entitystatic intPROMPT_VALUEPrompt entitystatic intPROMPT_VERSION_TAG_VALUEPrompt version tag entitystatic intPROMPT_VERSION_VALUEPrompt version entitystatic intREGISTERED_MODEL_VALUERegistered model entity
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Webhooks.WebhookEntityforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Webhooks.WebhookEntity>internalGetValueMap()static Webhooks.WebhookEntityvalueOf(int value)Deprecated.static Webhooks.WebhookEntityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Webhooks.WebhookEntityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Webhooks.WebhookEntity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY_UNSPECIFIED
public static final Webhooks.WebhookEntity ENTITY_UNSPECIFIED
Default/unknown entity
ENTITY_UNSPECIFIED = 0;
-
REGISTERED_MODEL
public static final Webhooks.WebhookEntity REGISTERED_MODEL
Registered model entity
REGISTERED_MODEL = 1;
-
MODEL_VERSION
public static final Webhooks.WebhookEntity MODEL_VERSION
Model version entity
MODEL_VERSION = 2;
-
MODEL_VERSION_TAG
public static final Webhooks.WebhookEntity MODEL_VERSION_TAG
Model version tag entity
MODEL_VERSION_TAG = 3;
-
MODEL_VERSION_ALIAS
public static final Webhooks.WebhookEntity MODEL_VERSION_ALIAS
Model version alias entity
MODEL_VERSION_ALIAS = 4;
-
PROMPT
public static final Webhooks.WebhookEntity PROMPT
Prompt entity
PROMPT = 5;
-
PROMPT_VERSION
public static final Webhooks.WebhookEntity PROMPT_VERSION
Prompt version entity
PROMPT_VERSION = 6;
-
PROMPT_TAG
public static final Webhooks.WebhookEntity PROMPT_TAG
Prompt tag entity
PROMPT_TAG = 7;
-
PROMPT_VERSION_TAG
public static final Webhooks.WebhookEntity PROMPT_VERSION_TAG
Prompt version tag entity
PROMPT_VERSION_TAG = 8;
-
PROMPT_ALIAS
public static final Webhooks.WebhookEntity PROMPT_ALIAS
Prompt alias entity
PROMPT_ALIAS = 9;
-
-
Field Detail
-
ENTITY_UNSPECIFIED_VALUE
public static final int ENTITY_UNSPECIFIED_VALUE
Default/unknown entity
ENTITY_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
REGISTERED_MODEL_VALUE
public static final int REGISTERED_MODEL_VALUE
Registered model entity
REGISTERED_MODEL = 1;- See Also:
- Constant Field Values
-
MODEL_VERSION_VALUE
public static final int MODEL_VERSION_VALUE
Model version entity
MODEL_VERSION = 2;- See Also:
- Constant Field Values
-
MODEL_VERSION_TAG_VALUE
public static final int MODEL_VERSION_TAG_VALUE
Model version tag entity
MODEL_VERSION_TAG = 3;- See Also:
- Constant Field Values
-
MODEL_VERSION_ALIAS_VALUE
public static final int MODEL_VERSION_ALIAS_VALUE
Model version alias entity
MODEL_VERSION_ALIAS = 4;- See Also:
- Constant Field Values
-
PROMPT_VALUE
public static final int PROMPT_VALUE
Prompt entity
PROMPT = 5;- See Also:
- Constant Field Values
-
PROMPT_VERSION_VALUE
public static final int PROMPT_VERSION_VALUE
Prompt version entity
PROMPT_VERSION = 6;- See Also:
- Constant Field Values
-
PROMPT_TAG_VALUE
public static final int PROMPT_TAG_VALUE
Prompt tag entity
PROMPT_TAG = 7;- See Also:
- Constant Field Values
-
PROMPT_VERSION_TAG_VALUE
public static final int PROMPT_VERSION_TAG_VALUE
Prompt version tag entity
PROMPT_VERSION_TAG = 8;- See Also:
- Constant Field Values
-
PROMPT_ALIAS_VALUE
public static final int PROMPT_ALIAS_VALUE
Prompt alias entity
PROMPT_ALIAS = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Webhooks.WebhookEntity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Webhooks.WebhookEntity c : Webhooks.WebhookEntity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Webhooks.WebhookEntity valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static Webhooks.WebhookEntity valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Webhooks.WebhookEntity forNumber(int value)
- 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 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-