public interface KeyValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getCreateRevision()
create_revision is the revision of last creation on this key.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getKey()
key is the key in bytes. An empty key is not allowed.
bytes key = 1;long getCreateRevision()
create_revision is the revision of last creation on this key.
int64 create_revision = 2;long getModRevision()
mod_revision is the revision of last modification on this key.
int64 mod_revision = 3;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;com.google.protobuf.ByteString getValue()
value is the value held by the key, in bytes.
bytes value = 5;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;Copyright © 2022. All rights reserved.