public static final class Kv.KeyValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder> implements Kv.KeyValueOrBuilder
mvccpb.KeyValue| 限定符和类型 | 方法和说明 |
|---|---|
Kv.KeyValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kv.KeyValue |
build() |
Kv.KeyValue |
buildPartial() |
Kv.KeyValue.Builder |
clear() |
Kv.KeyValue.Builder |
clearCreateRevision()
create_revision is the revision of last creation on this key.
|
Kv.KeyValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kv.KeyValue.Builder |
clearKey()
key is the key in bytes.
|
Kv.KeyValue.Builder |
clearLease()
lease is the ID of the lease that attached to key.
|
Kv.KeyValue.Builder |
clearModRevision()
mod_revision is the revision of last modification on this key.
|
Kv.KeyValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kv.KeyValue.Builder |
clearValue()
value is the value held by the key, in bytes.
|
Kv.KeyValue.Builder |
clearVersion()
version is the version of the key.
|
Kv.KeyValue.Builder |
clone() |
long |
getCreateRevision()
create_revision is the revision of last creation on this key.
|
Kv.KeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKey()
key is the key in bytes.
|
long |
getLease()
lease is the ID of the lease that attached to key.
|
long |
getModRevision()
mod_revision is the revision of last modification on this key.
|
com.google.protobuf.ByteString |
getValue()
value is the value held by the key, in bytes.
|
long |
getVersion()
version is the version of the key.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kv.KeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kv.KeyValue.Builder |
mergeFrom(Kv.KeyValue other) |
Kv.KeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kv.KeyValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kv.KeyValue.Builder |
setCreateRevision(long value)
create_revision is the revision of last creation on this key.
|
Kv.KeyValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kv.KeyValue.Builder |
setKey(com.google.protobuf.ByteString value)
key is the key in bytes.
|
Kv.KeyValue.Builder |
setLease(long value)
lease is the ID of the lease that attached to key.
|
Kv.KeyValue.Builder |
setModRevision(long value)
mod_revision is the revision of last modification on this key.
|
Kv.KeyValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kv.KeyValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kv.KeyValue.Builder |
setValue(com.google.protobuf.ByteString value)
value is the value held by the key, in bytes.
|
Kv.KeyValue.Builder |
setVersion(long value)
version is the version of the key.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Kv.KeyValue build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Kv.KeyValue buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Kv.KeyValue.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder mergeFrom(Kv.KeyValue other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public Kv.KeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Kv.KeyValue.Builder>IOExceptionpublic com.google.protobuf.ByteString getKey()
key is the key in bytes. An empty key is not allowed.
bytes key = 1;getKey 在接口中 Kv.KeyValueOrBuilderpublic Kv.KeyValue.Builder setKey(com.google.protobuf.ByteString value)
key is the key in bytes. An empty key is not allowed.
bytes key = 1;public Kv.KeyValue.Builder clearKey()
key is the key in bytes. An empty key is not allowed.
bytes key = 1;public long getCreateRevision()
create_revision is the revision of last creation on this key.
int64 create_revision = 2;getCreateRevision 在接口中 Kv.KeyValueOrBuilderpublic Kv.KeyValue.Builder setCreateRevision(long value)
create_revision is the revision of last creation on this key.
int64 create_revision = 2;public Kv.KeyValue.Builder clearCreateRevision()
create_revision is the revision of last creation on this key.
int64 create_revision = 2;public long getModRevision()
mod_revision is the revision of last modification on this key.
int64 mod_revision = 3;getModRevision 在接口中 Kv.KeyValueOrBuilderpublic Kv.KeyValue.Builder setModRevision(long value)
mod_revision is the revision of last modification on this key.
int64 mod_revision = 3;public Kv.KeyValue.Builder clearModRevision()
mod_revision is the revision of last modification on this key.
int64 mod_revision = 3;public long getVersion()
version is the version of the key. A deletion resets the version to zero and any modification of the key increases its version.
int64 version = 4;getVersion 在接口中 Kv.KeyValueOrBuilderpublic Kv.KeyValue.Builder setVersion(long value)
version is the version of the key. A deletion resets the version to zero and any modification of the key increases its version.
int64 version = 4;public Kv.KeyValue.Builder clearVersion()
version is the version of the key. A deletion resets the version to zero and any modification of the key increases its version.
int64 version = 4;public com.google.protobuf.ByteString getValue()
value is the value held by the key, in bytes.
bytes value = 5;getValue 在接口中 Kv.KeyValueOrBuilderpublic Kv.KeyValue.Builder setValue(com.google.protobuf.ByteString value)
value is the value held by the key, in bytes.
bytes value = 5;public Kv.KeyValue.Builder clearValue()
value is the value held by the key, in bytes.
bytes value = 5;public long getLease()
lease is the ID of the lease that attached to key. When the attached lease expires, the key will be deleted. If lease is 0, then no lease is attached to the key.
int64 lease = 6;getLease 在接口中 Kv.KeyValueOrBuilderpublic Kv.KeyValue.Builder setLease(long value)
lease is the ID of the lease that attached to key. When the attached lease expires, the key will be deleted. If lease is 0, then no lease is attached to the key.
int64 lease = 6;public Kv.KeyValue.Builder clearLease()
lease is the ID of the lease that attached to key. When the attached lease expires, the key will be deleted. If lease is 0, then no lease is attached to the key.
int64 lease = 6;public final Kv.KeyValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>public final Kv.KeyValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Kv.KeyValue.Builder>Copyright © 2018. All rights reserved.