public static final class Kv.KeyValue extends com.google.protobuf.GeneratedMessageV3 implements Kv.KeyValueOrBuilder
mvccpb.KeyValue| 限定符和类型 | 类和说明 |
|---|---|
static class |
Kv.KeyValue.Builder
Protobuf type
mvccpb.KeyValue |
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 |
CREATE_REVISION_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
LEASE_FIELD_NUMBER |
static int |
MOD_REVISION_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
long |
getCreateRevision()
create_revision is the revision of last creation on this key.
|
static Kv.KeyValue |
getDefaultInstance() |
Kv.KeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<Kv.KeyValue> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue()
value is the value held by the key, in bytes.
|
long |
getVersion()
version is the version of the key.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Kv.KeyValue.Builder |
newBuilder() |
static Kv.KeyValue.Builder |
newBuilder(Kv.KeyValue prototype) |
Kv.KeyValue.Builder |
newBuilderForType() |
protected Kv.KeyValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Kv.KeyValue |
parseDelimitedFrom(InputStream input) |
static Kv.KeyValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.KeyValue |
parseFrom(byte[] data) |
static Kv.KeyValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.KeyValue |
parseFrom(ByteBuffer data) |
static Kv.KeyValue |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.KeyValue |
parseFrom(com.google.protobuf.ByteString data) |
static Kv.KeyValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Kv.KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kv.KeyValue |
parseFrom(InputStream input) |
static Kv.KeyValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Kv.KeyValue> |
parser() |
Kv.KeyValue.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 CREATE_REVISION_FIELD_NUMBER
public static final int MOD_REVISION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int LEASE_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 key in bytes. An empty key is not allowed.
bytes key = 1;getKey 在接口中 Kv.KeyValueOrBuilderpublic long getCreateRevision()
create_revision is the revision of last creation on this key.
int64 create_revision = 2;getCreateRevision 在接口中 Kv.KeyValueOrBuilderpublic long getModRevision()
mod_revision is the revision of last modification on this key.
int64 mod_revision = 3;getModRevision 在接口中 Kv.KeyValueOrBuilderpublic 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 com.google.protobuf.ByteString getValue()
value is the value held by the key, in bytes.
bytes value = 5;getValue 在接口中 Kv.KeyValueOrBuilderpublic 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 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 Kv.KeyValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.KeyValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.KeyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.KeyValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.KeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.KeyValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Kv.KeyValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static Kv.KeyValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kv.KeyValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Kv.KeyValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Kv.KeyValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Kv.KeyValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Kv.KeyValue.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Kv.KeyValue.Builder newBuilder()
public static Kv.KeyValue.Builder newBuilder(Kv.KeyValue prototype)
public Kv.KeyValue.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Kv.KeyValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Kv.KeyValue getDefaultInstance()
public static com.google.protobuf.Parser<Kv.KeyValue> parser()
public com.google.protobuf.Parser<Kv.KeyValue> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Kv.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.