Package ai.chalk.protos.chalk.common.v1
Enum Class OperationKind
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OperationKind>,Constable
public enum OperationKind
extends Enum<OperationKind>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
chalk.common.v1.OperationKind-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOPERATION_KIND_CRON = 3;OPERATION_KIND_MIGRATION = 2;OPERATION_KIND_MIGRATION_SAMPLER = 5;OPERATION_KIND_OFFLINE_QUERY = 7;also known as inferenceOPERATION_KIND_STREAMING = 4;OPERATION_KIND_UNSPECIFIED = 0;OPERATION_KIND_WINDOWED_STREAMING = 6; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOPERATION_KIND_CRON = 3;static final intOPERATION_KIND_MIGRATION_SAMPLER = 5;static final intOPERATION_KIND_MIGRATION = 2;static final intOPERATION_KIND_OFFLINE_QUERY = 7;static final intalso known as inferencestatic final intOPERATION_KIND_STREAMING = 4;static final intOPERATION_KIND_UNSPECIFIED = 0;static final intOPERATION_KIND_WINDOWED_STREAMING = 6; -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationKindforNumber(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<OperationKind>static OperationKindvalueOf(int value) Deprecated.static OperationKindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static OperationKindReturns the enum constant of this class with the specified name.static OperationKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPERATION_KIND_UNSPECIFIED
OPERATION_KIND_UNSPECIFIED = 0; -
OPERATION_KIND_ONLINE_QUERY
also known as inference
OPERATION_KIND_ONLINE_QUERY = 1; -
OPERATION_KIND_MIGRATION
OPERATION_KIND_MIGRATION = 2; -
OPERATION_KIND_CRON
OPERATION_KIND_CRON = 3; -
OPERATION_KIND_STREAMING
OPERATION_KIND_STREAMING = 4; -
OPERATION_KIND_MIGRATION_SAMPLER
OPERATION_KIND_MIGRATION_SAMPLER = 5; -
OPERATION_KIND_WINDOWED_STREAMING
OPERATION_KIND_WINDOWED_STREAMING = 6; -
OPERATION_KIND_OFFLINE_QUERY
OPERATION_KIND_OFFLINE_QUERY = 7; -
UNRECOGNIZED
-
-
Field Details
-
OPERATION_KIND_UNSPECIFIED_VALUE
public static final int OPERATION_KIND_UNSPECIFIED_VALUEOPERATION_KIND_UNSPECIFIED = 0;- See Also:
-
OPERATION_KIND_ONLINE_QUERY_VALUE
public static final int OPERATION_KIND_ONLINE_QUERY_VALUEalso known as inference
OPERATION_KIND_ONLINE_QUERY = 1;- See Also:
-
OPERATION_KIND_MIGRATION_VALUE
public static final int OPERATION_KIND_MIGRATION_VALUEOPERATION_KIND_MIGRATION = 2;- See Also:
-
OPERATION_KIND_CRON_VALUE
public static final int OPERATION_KIND_CRON_VALUEOPERATION_KIND_CRON = 3;- See Also:
-
OPERATION_KIND_STREAMING_VALUE
public static final int OPERATION_KIND_STREAMING_VALUEOPERATION_KIND_STREAMING = 4;- See Also:
-
OPERATION_KIND_MIGRATION_SAMPLER_VALUE
public static final int OPERATION_KIND_MIGRATION_SAMPLER_VALUEOPERATION_KIND_MIGRATION_SAMPLER = 5;- See Also:
-
OPERATION_KIND_WINDOWED_STREAMING_VALUE
public static final int OPERATION_KIND_WINDOWED_STREAMING_VALUEOPERATION_KIND_WINDOWED_STREAMING = 6;- See Also:
-
OPERATION_KIND_OFFLINE_QUERY_VALUE
public static final int OPERATION_KIND_OFFLINE_QUERY_VALUEOPERATION_KIND_OFFLINE_QUERY = 7;- 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
-
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
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
-