public final class LeaseTimeToLiveResponse extends com.google.protobuf.GeneratedMessageV3 implements LeaseTimeToLiveResponseOrBuilder
etcdserverpb.LeaseTimeToLiveResponse| Modifier and Type | Class and Description |
|---|---|
static class |
LeaseTimeToLiveResponse.Builder
Protobuf type
etcdserverpb.LeaseTimeToLiveResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GRANTEDTTL_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KEYS_FIELD_NUMBER |
static int |
TTL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static LeaseTimeToLiveResponse |
getDefaultInstance() |
LeaseTimeToLiveResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<LeaseTimeToLiveResponse> |
getParserForType() |
int |
getSerializedSize() |
long |
getTTL()
TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHeader()
.etcdserverpb.ResponseHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LeaseTimeToLiveResponse.Builder |
newBuilder() |
static LeaseTimeToLiveResponse.Builder |
newBuilder(LeaseTimeToLiveResponse prototype) |
LeaseTimeToLiveResponse.Builder |
newBuilderForType() |
protected LeaseTimeToLiveResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LeaseTimeToLiveResponse |
parseDelimitedFrom(InputStream input) |
static LeaseTimeToLiveResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LeaseTimeToLiveResponse |
parseFrom(byte[] data) |
static LeaseTimeToLiveResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LeaseTimeToLiveResponse |
parseFrom(ByteBuffer data) |
static LeaseTimeToLiveResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LeaseTimeToLiveResponse |
parseFrom(com.google.protobuf.ByteString data) |
static LeaseTimeToLiveResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LeaseTimeToLiveResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LeaseTimeToLiveResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LeaseTimeToLiveResponse |
parseFrom(InputStream input) |
static LeaseTimeToLiveResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LeaseTimeToLiveResponse> |
parser() |
LeaseTimeToLiveResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HEADER_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
public static final int GRANTEDTTL_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasHeader()
.etcdserverpb.ResponseHeader header = 1;hasHeader in interface LeaseTimeToLiveResponseOrBuilderpublic ResponseHeader getHeader()
.etcdserverpb.ResponseHeader header = 1;getHeader in interface LeaseTimeToLiveResponseOrBuilderpublic ResponseHeaderOrBuilder getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1;getHeaderOrBuilder in interface LeaseTimeToLiveResponseOrBuilderpublic long getID()
ID is the lease ID from the keep alive request.
int64 ID = 2;getID in interface LeaseTimeToLiveResponseOrBuilderpublic long getTTL()
TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.
int64 TTL = 3;getTTL in interface LeaseTimeToLiveResponseOrBuilderpublic long getGrantedTTL()
GrantedTTL is the initial granted time in seconds upon lease creation/renewal.
int64 grantedTTL = 4;getGrantedTTL in interface LeaseTimeToLiveResponseOrBuilderpublic List<com.google.protobuf.ByteString> getKeysList()
Keys is the list of keys attached to this lease.
repeated bytes keys = 5;getKeysList in interface LeaseTimeToLiveResponseOrBuilderpublic int getKeysCount()
Keys is the list of keys attached to this lease.
repeated bytes keys = 5;getKeysCount in interface LeaseTimeToLiveResponseOrBuilderpublic com.google.protobuf.ByteString getKeys(int index)
Keys is the list of keys attached to this lease.
repeated bytes keys = 5;getKeys in interface LeaseTimeToLiveResponseOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LeaseTimeToLiveResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LeaseTimeToLiveResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LeaseTimeToLiveResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LeaseTimeToLiveResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LeaseTimeToLiveResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LeaseTimeToLiveResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LeaseTimeToLiveResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static LeaseTimeToLiveResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LeaseTimeToLiveResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LeaseTimeToLiveResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LeaseTimeToLiveResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LeaseTimeToLiveResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LeaseTimeToLiveResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LeaseTimeToLiveResponse.Builder newBuilder()
public static LeaseTimeToLiveResponse.Builder newBuilder(LeaseTimeToLiveResponse prototype)
public LeaseTimeToLiveResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LeaseTimeToLiveResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LeaseTimeToLiveResponse getDefaultInstance()
public static com.google.protobuf.Parser<LeaseTimeToLiveResponse> parser()
public com.google.protobuf.Parser<LeaseTimeToLiveResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LeaseTimeToLiveResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.