public interface ShardReplicaOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDmChannelName()
string dm_channel_name = 3; |
com.google.protobuf.ByteString |
getDmChannelNameBytes()
string dm_channel_name = 3; |
String |
getLeaderAddr()
IP:port
string leader_addr = 2; |
com.google.protobuf.ByteString |
getLeaderAddrBytes()
IP:port
string leader_addr = 2; |
long |
getLeaderID()
int64 leaderID = 1; |
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; |
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; |
List<Long> |
getNodeIdsList()
optional, DO NOT save it in meta, set it only for GetReplicas()
if with_shard_nodes is true
repeated int64 node_ids = 4; |
long getLeaderID()
int64 leaderID = 1;String getLeaderAddr()
IP:port
string leader_addr = 2;com.google.protobuf.ByteString getLeaderAddrBytes()
IP:port
string leader_addr = 2;String getDmChannelName()
string dm_channel_name = 3;com.google.protobuf.ByteString getDmChannelNameBytes()
string dm_channel_name = 3;List<Long> getNodeIdsList()
optional, DO NOT save it in meta, set it only for GetReplicas() if with_shard_nodes is true
repeated int64 node_ids = 4;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;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;index - The index of the element to return.Copyright © 2023. All rights reserved.