public static interface Rpc.StatusResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getDbSize()
dbSize is the size of the backend database, in bytes, of the responding member.
|
Rpc.ResponseHeader |
getHeader()
.etcdserverpb.ResponseHeader header = 1; |
Rpc.ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1; |
long |
getLeader()
leader is the member ID which the responding member believes is the current leader.
|
long |
getRaftIndex()
raftIndex is the current raft index of the responding member.
|
long |
getRaftTerm()
raftTerm is the current raft term of the responding member.
|
String |
getVersion()
version is the cluster protocol version used by the responding member.
|
com.google.protobuf.ByteString |
getVersionBytes()
version is the cluster protocol version used by the responding member.
|
boolean |
hasHeader()
.etcdserverpb.ResponseHeader header = 1; |
boolean hasHeader()
.etcdserverpb.ResponseHeader header = 1;Rpc.ResponseHeader getHeader()
.etcdserverpb.ResponseHeader header = 1;Rpc.ResponseHeaderOrBuilder getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1;String getVersion()
version is the cluster protocol version used by the responding member.
string version = 2;com.google.protobuf.ByteString getVersionBytes()
version is the cluster protocol version used by the responding member.
string version = 2;long getDbSize()
dbSize is the size of the backend database, in bytes, of the responding member.
int64 dbSize = 3;long getLeader()
leader is the member ID which the responding member believes is the current leader.
uint64 leader = 4;long getRaftIndex()
raftIndex is the current raft index of the responding member.
uint64 raftIndex = 5;long getRaftTerm()
raftTerm is the current raft term of the responding member.
uint64 raftTerm = 6;Copyright © 2018. All rights reserved.