Package io.qdrant.client.grpc
Interface Collections.RemoteShardInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.RemoteShardInfo
,Collections.RemoteShardInfo.Builder
- Enclosing class:
- Collections
public static interface Collections.RemoteShardInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
Remote peer idint
Local shard idgetState()
Is replica activeint
Is replica activeMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getShardId
int getShardId()Local shard id
uint32 shard_id = 1;
- Returns:
- The shardId.
-
getPeerId
long getPeerId()Remote peer id
uint64 peer_id = 2;
- Returns:
- The peerId.
-
getStateValue
int getStateValue()Is replica active
.qdrant.ReplicaState state = 3;
- Returns:
- The enum numeric value on the wire for state.
-
getState
Collections.ReplicaState getState()Is replica active
.qdrant.ReplicaState state = 3;
- Returns:
- The state.
-