public static final class Rpc.RangeRequest extends com.google.protobuf.GeneratedMessageV3 implements Rpc.RangeRequestOrBuilder
etcdserverpb.RangeRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
Rpc.RangeRequest.Builder
Protobuf type
etcdserverpb.RangeRequest |
static class |
Rpc.RangeRequest.SortOrder
Protobuf enum
etcdserverpb.RangeRequest.SortOrder |
static class |
Rpc.RangeRequest.SortTarget
Protobuf enum
etcdserverpb.RangeRequest.SortTarget |
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COUNT_ONLY_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
KEYS_ONLY_FIELD_NUMBER |
static int |
LIMIT_FIELD_NUMBER |
static int |
MAX_CREATE_REVISION_FIELD_NUMBER |
static int |
MAX_MOD_REVISION_FIELD_NUMBER |
static int |
MIN_CREATE_REVISION_FIELD_NUMBER |
static int |
MIN_MOD_REVISION_FIELD_NUMBER |
static int |
RANGE_END_FIELD_NUMBER |
static int |
REVISION_FIELD_NUMBER |
static int |
SERIALIZABLE_FIELD_NUMBER |
static int |
SORT_ORDER_FIELD_NUMBER |
static int |
SORT_TARGET_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
boolean |
getCountOnly()
count_only when set returns only the count of the keys in the range.
|
static Rpc.RangeRequest |
getDefaultInstance() |
Rpc.RangeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getKey()
key is the first key for the range.
|
boolean |
getKeysOnly()
keys_only when set returns only the keys and not the values.
|
long |
getLimit()
limit is a limit on the number of keys returned for the request.
|
long |
getMaxCreateRevision()
max_create_revision is the upper bound for returned key create revisions; all keys with
greater create revisions will be filtered away.
|
long |
getMaxModRevision()
max_mod_revision is the upper bound for returned key mod revisions; all keys with
greater mod revisions will be filtered away.
|
long |
getMinCreateRevision()
min_create_revision is the lower bound for returned key create revisions; all keys with
lesser create trevisions will be filtered away.
|
long |
getMinModRevision()
min_mod_revision is the lower bound for returned key mod revisions; all keys with
lesser mod revisions will be filtered away.
|
com.google.protobuf.Parser<Rpc.RangeRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getRangeEnd()
range_end is the upper bound on the requested range [key, range_end).
|
long |
getRevision()
revision is the point-in-time of the key-value store to use for the range.
|
boolean |
getSerializable()
serializable sets the range request to use serializable member-local reads.
|
int |
getSerializedSize() |
Rpc.RangeRequest.SortOrder |
getSortOrder()
sort_order is the order for returned sorted results.
|
int |
getSortOrderValue()
sort_order is the order for returned sorted results.
|
Rpc.RangeRequest.SortTarget |
getSortTarget()
sort_target is the key-value field to use for sorting.
|
int |
getSortTargetValue()
sort_target is the key-value field to use for sorting.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rpc.RangeRequest.Builder |
newBuilder() |
static Rpc.RangeRequest.Builder |
newBuilder(Rpc.RangeRequest prototype) |
Rpc.RangeRequest.Builder |
newBuilderForType() |
protected Rpc.RangeRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rpc.RangeRequest |
parseDelimitedFrom(InputStream input) |
static Rpc.RangeRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RangeRequest |
parseFrom(byte[] data) |
static Rpc.RangeRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RangeRequest |
parseFrom(ByteBuffer data) |
static Rpc.RangeRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RangeRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Rpc.RangeRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RangeRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rpc.RangeRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RangeRequest |
parseFrom(InputStream input) |
static Rpc.RangeRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rpc.RangeRequest> |
parser() |
Rpc.RangeRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, writeTopublic static final int KEY_FIELD_NUMBER
public static final int RANGE_END_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static final int REVISION_FIELD_NUMBER
public static final int SORT_ORDER_FIELD_NUMBER
public static final int SORT_TARGET_FIELD_NUMBER
public static final int SERIALIZABLE_FIELD_NUMBER
public static final int KEYS_ONLY_FIELD_NUMBER
public static final int COUNT_ONLY_FIELD_NUMBER
public static final int MIN_MOD_REVISION_FIELD_NUMBER
public static final int MAX_MOD_REVISION_FIELD_NUMBER
public static final int MIN_CREATE_REVISION_FIELD_NUMBER
public static final int MAX_CREATE_REVISION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getKey()
key is the first key for the range. If range_end is not given, the request only looks up key.
bytes key = 1;getKey 在接口中 Rpc.RangeRequestOrBuilderpublic com.google.protobuf.ByteString getRangeEnd()
range_end is the upper bound on the requested range [key, range_end). If range_end is '\0', the range is all keys >= key. If range_end is key plus one (e.g., "aa"+1 == "ab", "a\xff"+1 == "b"), then the range request gets all keys prefixed with key. If both key and range_end are '\0', then the range request returns all keys.
bytes range_end = 2;getRangeEnd 在接口中 Rpc.RangeRequestOrBuilderpublic long getLimit()
limit is a limit on the number of keys returned for the request. When limit is set to 0, it is treated as no limit.
int64 limit = 3;getLimit 在接口中 Rpc.RangeRequestOrBuilderpublic long getRevision()
revision is the point-in-time of the key-value store to use for the range. If revision is less or equal to zero, the range is over the newest key-value store. If the revision has been compacted, ErrCompacted is returned as a response.
int64 revision = 4;getRevision 在接口中 Rpc.RangeRequestOrBuilderpublic int getSortOrderValue()
sort_order is the order for returned sorted results.
.etcdserverpb.RangeRequest.SortOrder sort_order = 5;getSortOrderValue 在接口中 Rpc.RangeRequestOrBuilderpublic Rpc.RangeRequest.SortOrder getSortOrder()
sort_order is the order for returned sorted results.
.etcdserverpb.RangeRequest.SortOrder sort_order = 5;getSortOrder 在接口中 Rpc.RangeRequestOrBuilderpublic int getSortTargetValue()
sort_target is the key-value field to use for sorting.
.etcdserverpb.RangeRequest.SortTarget sort_target = 6;getSortTargetValue 在接口中 Rpc.RangeRequestOrBuilderpublic Rpc.RangeRequest.SortTarget getSortTarget()
sort_target is the key-value field to use for sorting.
.etcdserverpb.RangeRequest.SortTarget sort_target = 6;getSortTarget 在接口中 Rpc.RangeRequestOrBuilderpublic boolean getSerializable()
serializable sets the range request to use serializable member-local reads. Range requests are linearizable by default; linearizable requests have higher latency and lower throughput than serializable requests but reflect the current consensus of the cluster. For better performance, in exchange for possible stale reads, a serializable range request is served locally without needing to reach consensus with other nodes in the cluster.
bool serializable = 7;getSerializable 在接口中 Rpc.RangeRequestOrBuilderpublic boolean getKeysOnly()
keys_only when set returns only the keys and not the values.
bool keys_only = 8;getKeysOnly 在接口中 Rpc.RangeRequestOrBuilderpublic boolean getCountOnly()
count_only when set returns only the count of the keys in the range.
bool count_only = 9;getCountOnly 在接口中 Rpc.RangeRequestOrBuilderpublic long getMinModRevision()
min_mod_revision is the lower bound for returned key mod revisions; all keys with lesser mod revisions will be filtered away.
int64 min_mod_revision = 10;getMinModRevision 在接口中 Rpc.RangeRequestOrBuilderpublic long getMaxModRevision()
max_mod_revision is the upper bound for returned key mod revisions; all keys with greater mod revisions will be filtered away.
int64 max_mod_revision = 11;getMaxModRevision 在接口中 Rpc.RangeRequestOrBuilderpublic long getMinCreateRevision()
min_create_revision is the lower bound for returned key create revisions; all keys with lesser create trevisions will be filtered away.
int64 min_create_revision = 12;public long getMaxCreateRevision()
max_create_revision is the upper bound for returned key create revisions; all keys with greater create revisions will be filtered away.
int64 max_create_revision = 13;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Rpc.RangeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RangeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RangeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RangeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RangeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RangeRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.RangeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.RangeRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.RangeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.RangeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rpc.RangeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rpc.RangeRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Rpc.RangeRequest.Builder newBuilder()
public static Rpc.RangeRequest.Builder newBuilder(Rpc.RangeRequest prototype)
public Rpc.RangeRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Rpc.RangeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Rpc.RangeRequest getDefaultInstance()
public static com.google.protobuf.Parser<Rpc.RangeRequest> parser()
public com.google.protobuf.Parser<Rpc.RangeRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Rpc.RangeRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.