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_UNSPECIFIED
Default/unknown entityMODEL_VERSION
Model version entityMODEL_VERSION_ALIAS
Model version alias entityMODEL_VERSION_TAG
Model version tag entityREGISTERED_MODEL
Registered model entity
-
Field Summary
Fields Modifier and Type Field Description static int
ENTITY_UNSPECIFIED_VALUE
Default/unknown entitystatic int
MODEL_VERSION_ALIAS_VALUE
Model version alias entitystatic int
MODEL_VERSION_TAG_VALUE
Model version tag entitystatic int
MODEL_VERSION_VALUE
Model version entitystatic int
REGISTERED_MODEL_VALUE
Registered model entity
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Webhooks.WebhookEntity
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Webhooks.WebhookEntity>
internalGetValueMap()
static Webhooks.WebhookEntity
valueOf(int value)
Deprecated.static Webhooks.WebhookEntity
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Webhooks.WebhookEntity
valueOf(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;
-
-
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
-
-
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-