Package io.milvus.grpc
Enum RefreshExternalCollectionState
- java.lang.Object
-
- java.lang.Enum<RefreshExternalCollectionState>
-
- io.milvus.grpc.RefreshExternalCollectionState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RefreshExternalCollectionState>
public enum RefreshExternalCollectionState extends Enum<RefreshExternalCollectionState> implements com.google.protobuf.ProtocolMessageEnum
External Collection Refresh APIs
Protobuf enummilvus.proto.milvus.RefreshExternalCollectionState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RefreshCompletedJob completed successfullyRefreshFailedJob failed with errorRefreshInProgressJob is currently executingRefreshPendingJob is queued, waiting to executeUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intRefreshCompleted_VALUEJob completed successfullystatic intRefreshFailed_VALUEJob failed with errorstatic intRefreshInProgress_VALUEJob is currently executingstatic intRefreshPending_VALUEJob is queued, waiting to execute
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RefreshExternalCollectionStateforNumber(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<RefreshExternalCollectionState>internalGetValueMap()static RefreshExternalCollectionStatevalueOf(int value)Deprecated.static RefreshExternalCollectionStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RefreshExternalCollectionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static RefreshExternalCollectionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RefreshPending
public static final RefreshExternalCollectionState RefreshPending
Job is queued, waiting to execute
RefreshPending = 0;
-
RefreshInProgress
public static final RefreshExternalCollectionState RefreshInProgress
Job is currently executing
RefreshInProgress = 1;
-
RefreshCompleted
public static final RefreshExternalCollectionState RefreshCompleted
Job completed successfully
RefreshCompleted = 2;
-
RefreshFailed
public static final RefreshExternalCollectionState RefreshFailed
Job failed with error
RefreshFailed = 3;
-
UNRECOGNIZED
public static final RefreshExternalCollectionState UNRECOGNIZED
-
-
Field Detail
-
RefreshPending_VALUE
public static final int RefreshPending_VALUE
Job is queued, waiting to execute
RefreshPending = 0;- See Also:
- Constant Field Values
-
RefreshInProgress_VALUE
public static final int RefreshInProgress_VALUE
Job is currently executing
RefreshInProgress = 1;- See Also:
- Constant Field Values
-
RefreshCompleted_VALUE
public static final int RefreshCompleted_VALUE
Job completed successfully
RefreshCompleted = 2;- See Also:
- Constant Field Values
-
RefreshFailed_VALUE
public static final int RefreshFailed_VALUE
Job failed with error
RefreshFailed = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RefreshExternalCollectionState[] 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 (RefreshExternalCollectionState c : RefreshExternalCollectionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RefreshExternalCollectionState valueOf(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:
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 public static RefreshExternalCollectionState 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static RefreshExternalCollectionState 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<RefreshExternalCollectionState> 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 RefreshExternalCollectionState 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-