public final class RangeResponse extends com.google.protobuf.GeneratedMessageV3 implements RangeResponseOrBuilder
etcdserverpb.RangeResponse| Modifier and Type | Class and Description |
|---|---|
static class |
RangeResponse.Builder
Protobuf type
etcdserverpb.RangeResponse |
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 |
COUNT_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
KVS_FIELD_NUMBER |
static int |
MORE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getCount()
count is set to the number of keys within the range when requested.
|
static RangeResponse |
getDefaultInstance() |
RangeResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ResponseHeader |
getHeader()
.etcdserverpb.ResponseHeader header = 1; |
ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1; |
KeyValue |
getKvs(int index)
kvs is the list of key-value pairs matched by the range request.
|
int |
getKvsCount()
kvs is the list of key-value pairs matched by the range request.
|
List<KeyValue> |
getKvsList()
kvs is the list of key-value pairs matched by the range request.
|
KeyValueOrBuilder |
getKvsOrBuilder(int index)
kvs is the list of key-value pairs matched by the range request.
|
List<? extends KeyValueOrBuilder> |
getKvsOrBuilderList()
kvs is the list of key-value pairs matched by the range request.
|
boolean |
getMore()
more indicates if there are more keys to return in the requested range.
|
com.google.protobuf.Parser<RangeResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHeader()
.etcdserverpb.ResponseHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RangeResponse.Builder |
newBuilder() |
static RangeResponse.Builder |
newBuilder(RangeResponse prototype) |
RangeResponse.Builder |
newBuilderForType() |
protected RangeResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RangeResponse |
parseDelimitedFrom(InputStream input) |
static RangeResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RangeResponse |
parseFrom(byte[] data) |
static RangeResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RangeResponse |
parseFrom(ByteBuffer data) |
static RangeResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RangeResponse |
parseFrom(com.google.protobuf.ByteString data) |
static RangeResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RangeResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RangeResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RangeResponse |
parseFrom(InputStream input) |
static RangeResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RangeResponse> |
parser() |
RangeResponse.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, newInstance, 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 KVS_FIELD_NUMBER
public static final int MORE_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public 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 RangeResponseOrBuilderpublic ResponseHeader getHeader()
.etcdserverpb.ResponseHeader header = 1;getHeader in interface RangeResponseOrBuilderpublic ResponseHeaderOrBuilder getHeaderOrBuilder()
.etcdserverpb.ResponseHeader header = 1;getHeaderOrBuilder in interface RangeResponseOrBuilderpublic List<KeyValue> getKvsList()
kvs is the list of key-value pairs matched by the range request. kvs is empty when count is requested.
repeated .mvccpb.KeyValue kvs = 2;getKvsList in interface RangeResponseOrBuilderpublic List<? extends KeyValueOrBuilder> getKvsOrBuilderList()
kvs is the list of key-value pairs matched by the range request. kvs is empty when count is requested.
repeated .mvccpb.KeyValue kvs = 2;getKvsOrBuilderList in interface RangeResponseOrBuilderpublic int getKvsCount()
kvs is the list of key-value pairs matched by the range request. kvs is empty when count is requested.
repeated .mvccpb.KeyValue kvs = 2;getKvsCount in interface RangeResponseOrBuilderpublic KeyValue getKvs(int index)
kvs is the list of key-value pairs matched by the range request. kvs is empty when count is requested.
repeated .mvccpb.KeyValue kvs = 2;getKvs in interface RangeResponseOrBuilderpublic KeyValueOrBuilder getKvsOrBuilder(int index)
kvs is the list of key-value pairs matched by the range request. kvs is empty when count is requested.
repeated .mvccpb.KeyValue kvs = 2;getKvsOrBuilder in interface RangeResponseOrBuilderpublic boolean getMore()
more indicates if there are more keys to return in the requested range.
bool more = 3;getMore in interface RangeResponseOrBuilderpublic long getCount()
count is set to the number of keys within the range when requested.
int64 count = 4;getCount in interface RangeResponseOrBuilderpublic 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 RangeResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RangeResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RangeResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RangeResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RangeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RangeResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RangeResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static RangeResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RangeResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RangeResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RangeResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RangeResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RangeResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RangeResponse.Builder newBuilder()
public static RangeResponse.Builder newBuilder(RangeResponse prototype)
public RangeResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RangeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RangeResponse getDefaultInstance()
public static com.google.protobuf.Parser<RangeResponse> parser()
public com.google.protobuf.Parser<RangeResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RangeResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.