Package io.qdrant.client.grpc
Enum Class Collections.ReplicaState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Collections.ReplicaState>
,Constable
- Enclosing class:
- Collections
public static enum Collections.ReplicaState
extends Enum<Collections.ReplicaState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
qdrant.ReplicaState
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionActive and soundFailed for some reasonCollection is being createdA shard which receives data, but is not used for search; Useful for backup shardsThe shard is partially loaded and is currently receiving data from other shards -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Active and soundstatic final int
Failed for some reasonstatic final int
Collection is being createdstatic final int
A shard which receives data, but is not used for search; Useful for backup shardsstatic final int
The shard is partially loaded and is currently receiving data from other shards -
Method Summary
Modifier and TypeMethodDescriptionstatic Collections.ReplicaState
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<Collections.ReplicaState>
static Collections.ReplicaState
valueOf
(int value) Deprecated.static Collections.ReplicaState
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Collections.ReplicaState
Returns the enum constant of this class with the specified name.static Collections.ReplicaState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Active
Active and sound
Active = 0;
-
Dead
Failed for some reason
Dead = 1;
-
Partial
The shard is partially loaded and is currently receiving data from other shards
Partial = 2;
-
Initializing
Collection is being created
Initializing = 3;
-
Listener
A shard which receives data, but is not used for search; Useful for backup shards
Listener = 4;
-
UNRECOGNIZED
-
-
Field Details
-
Active_VALUE
public static final int Active_VALUEActive and sound
Active = 0;
- See Also:
-
Dead_VALUE
public static final int Dead_VALUEFailed for some reason
Dead = 1;
- See Also:
-
Partial_VALUE
public static final int Partial_VALUEThe shard is partially loaded and is currently receiving data from other shards
Partial = 2;
- See Also:
-
Initializing_VALUE
public static final int Initializing_VALUECollection is being created
Initializing = 3;
- See Also:
-
Listener_VALUE
public static final int Listener_VALUEA shard which receives data, but is not used for search; Useful for backup shards
Listener = 4;
- 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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<Collections.ReplicaState> 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 Collections.ReplicaState 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
-