public interface LeaseTimeToLiveResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getGrantedTTL()
GrantedTTL is the initial granted time in seconds upon lease creation/renewal.
|
ResponseHeader |
getHeader()
.etcdserverpb.ResponseHeader header = 1; |
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; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasHeader()
.etcdserverpb.ResponseHeader header = 1;ResponseHeader getHeader()
.etcdserverpb.ResponseHeader header = 1;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;index - The index of the element to return.Copyright © 2023. All rights reserved.