Package io.milvus.grpc
Interface ShardReplicaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShardReplica,ShardReplica.Builder
public interface ShardReplicaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring dm_channel_name = 3;com.google.protobuf.ByteStringstring dm_channel_name = 3;IP:portcom.google.protobuf.ByteStringIP:portlongint64 leaderID = 1;longgetNodeIds(int index) optional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is trueintoptional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is trueoptional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is trueMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLeaderID
long getLeaderID()int64 leaderID = 1;- Returns:
- The leaderID.
-
getLeaderAddr
String getLeaderAddr()IP:port
string leader_addr = 2;- Returns:
- The leaderAddr.
-
getLeaderAddrBytes
com.google.protobuf.ByteString getLeaderAddrBytes()IP:port
string leader_addr = 2;- Returns:
- The bytes for leaderAddr.
-
getDmChannelName
String getDmChannelName()string dm_channel_name = 3;- Returns:
- The dmChannelName.
-
getDmChannelNameBytes
com.google.protobuf.ByteString getDmChannelNameBytes()string dm_channel_name = 3;- Returns:
- The bytes for dmChannelName.
-
getNodeIdsList
optional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is true
repeated int64 node_ids = 4;- Returns:
- A list containing the nodeIds.
-
getNodeIdsCount
int getNodeIdsCount()optional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is true
repeated int64 node_ids = 4;- Returns:
- The count of nodeIds.
-
getNodeIds
long getNodeIds(int index) optional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is true
repeated int64 node_ids = 4;- Parameters:
index- The index of the element to return.- Returns:
- The nodeIds at the given index.
-