| 程序包 | 说明 |
|---|---|
| etcdserverpb | |
| mvccpb |
| 限定符和类型 | 方法和说明 |
|---|---|
Kv.KeyValue.Builder |
Rpc.RangeResponse.Builder.addKvsBuilder()
kvs is the list of key-value pairs matched by the range request.
|
Kv.KeyValue.Builder |
Rpc.RangeResponse.Builder.addKvsBuilder(int index)
kvs is the list of key-value pairs matched by the range request.
|
Kv.KeyValue.Builder |
Rpc.DeleteRangeResponse.Builder.addPrevKvsBuilder()
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
Kv.KeyValue.Builder |
Rpc.DeleteRangeResponse.Builder.addPrevKvsBuilder(int index)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
Kv.KeyValue.Builder |
Rpc.RangeResponse.Builder.getKvsBuilder(int index)
kvs is the list of key-value pairs matched by the range request.
|
Kv.KeyValue.Builder |
Rpc.PutResponse.Builder.getPrevKvBuilder()
if prev_kv is set in the request, the previous key-value pair will be returned.
|
Kv.KeyValue.Builder |
Rpc.DeleteRangeResponse.Builder.getPrevKvsBuilder(int index)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Kv.KeyValue.Builder> |
Rpc.RangeResponse.Builder.getKvsBuilderList()
kvs is the list of key-value pairs matched by the range request.
|
List<Kv.KeyValue.Builder> |
Rpc.DeleteRangeResponse.Builder.getPrevKvsBuilderList()
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Rpc.RangeResponse.Builder |
Rpc.RangeResponse.Builder.addKvs(int index,
Kv.KeyValue.Builder builderForValue)
kvs is the list of key-value pairs matched by the range request.
|
Rpc.RangeResponse.Builder |
Rpc.RangeResponse.Builder.addKvs(Kv.KeyValue.Builder builderForValue)
kvs is the list of key-value pairs matched by the range request.
|
Rpc.DeleteRangeResponse.Builder |
Rpc.DeleteRangeResponse.Builder.addPrevKvs(int index,
Kv.KeyValue.Builder builderForValue)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
Rpc.DeleteRangeResponse.Builder |
Rpc.DeleteRangeResponse.Builder.addPrevKvs(Kv.KeyValue.Builder builderForValue)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
Rpc.RangeResponse.Builder |
Rpc.RangeResponse.Builder.setKvs(int index,
Kv.KeyValue.Builder builderForValue)
kvs is the list of key-value pairs matched by the range request.
|
Rpc.PutResponse.Builder |
Rpc.PutResponse.Builder.setPrevKv(Kv.KeyValue.Builder builderForValue)
if prev_kv is set in the request, the previous key-value pair will be returned.
|
Rpc.DeleteRangeResponse.Builder |
Rpc.DeleteRangeResponse.Builder.setPrevKvs(int index,
Kv.KeyValue.Builder builderForValue)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clear() |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearCreateRevision()
create_revision is the revision of last creation on this key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearKey()
key is the key in bytes.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearLease()
lease is the ID of the lease that attached to key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearModRevision()
mod_revision is the revision of last modification on this key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearValue()
value is the value held by the key, in bytes.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clearVersion()
version is the version of the key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.clone() |
Kv.KeyValue.Builder |
Kv.Event.Builder.getKvBuilder()
kv holds the KeyValue for the event.
|
Kv.KeyValue.Builder |
Kv.Event.Builder.getPrevKvBuilder()
prev_kv holds the key-value pair before the event happens.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.mergeFrom(Kv.KeyValue other) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.mergeFrom(com.google.protobuf.Message other) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Kv.KeyValue.Builder |
Kv.KeyValue.newBuilder() |
static Kv.KeyValue.Builder |
Kv.KeyValue.newBuilder(Kv.KeyValue prototype) |
Kv.KeyValue.Builder |
Kv.KeyValue.newBuilderForType() |
protected Kv.KeyValue.Builder |
Kv.KeyValue.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setCreateRevision(long value)
create_revision is the revision of last creation on this key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setKey(com.google.protobuf.ByteString value)
key is the key in bytes.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setLease(long value)
lease is the ID of the lease that attached to key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setModRevision(long value)
mod_revision is the revision of last modification on this key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setValue(com.google.protobuf.ByteString value)
value is the value held by the key, in bytes.
|
Kv.KeyValue.Builder |
Kv.KeyValue.Builder.setVersion(long value)
version is the version of the key.
|
Kv.KeyValue.Builder |
Kv.KeyValue.toBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
Kv.Event.Builder |
Kv.Event.Builder.setKv(Kv.KeyValue.Builder builderForValue)
kv holds the KeyValue for the event.
|
Kv.Event.Builder |
Kv.Event.Builder.setPrevKv(Kv.KeyValue.Builder builderForValue)
prev_kv holds the key-value pair before the event happens.
|
Copyright © 2018. All rights reserved.