public static interface Rpc.LeaseTimeToLiveResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getGrantedTTL()
GrantedTTL is the initial granted time in seconds upon lease creation/renewal.
|
Rpc.ResponseHeader |
getHeader()
.etcdserverpb.ResponseHeader header = 1; |
Rpc.ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1; |
long |
getID()
ID is the lease ID from the keep alive request.
|
com.google.protobuf.ByteString |
getKeys(int index)
Keys is the list of keys attached to this lease.
|
int |
getKeysCount()
Keys is the list of keys attached to this lease.
|
List<com.google.protobuf.ByteString> |
getKeysList()
Keys is the list of keys attached to this lease.
|
long |
getTTL()
TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.
|
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;long getID()
ID is the lease ID from the keep alive request.
int64 ID = 2;long getTTL()
TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.
int64 TTL = 3;long getGrantedTTL()
GrantedTTL is the initial granted time in seconds upon lease creation/renewal.
int64 grantedTTL = 4;List<com.google.protobuf.ByteString> getKeysList()
Keys is the list of keys attached to this lease.
repeated bytes keys = 5;int getKeysCount()
Keys is the list of keys attached to this lease.
repeated bytes keys = 5;com.google.protobuf.ByteString getKeys(int index)
Keys is the list of keys attached to this lease.
repeated bytes keys = 5;Copyright © 2018. All rights reserved.