public interface CompareOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getCreateRevision()
create_revision is the creation revision of the given key
int64 create_revision = 5; |
com.google.protobuf.ByteString |
getKey()
key is the subject key for the comparison operation.
|
long |
getLease()
lease is the lease id of the given key.
|
long |
getModRevision()
mod_revision is the last modified revision of the given key.
|
com.google.protobuf.ByteString |
getRangeEnd()
range_end compares the given target to all keys in the range [key, range_end).
|
Compare.CompareResult |
getResult()
result is logical comparison operation for this comparison.
|
int |
getResultValue()
result is logical comparison operation for this comparison.
|
Compare.CompareTarget |
getTarget()
target is the key-value field to inspect for the comparison.
|
Compare.TargetUnionCase |
getTargetUnionCase() |
int |
getTargetValue()
target is the key-value field to inspect for the comparison.
|
com.google.protobuf.ByteString |
getValue()
value is the value of the given key, in bytes.
|
long |
getVersion()
version is the version of the given key
int64 version = 4; |
boolean |
hasCreateRevision()
create_revision is the creation revision of the given key
int64 create_revision = 5; |
boolean |
hasLease()
lease is the lease id of the given key.
|
boolean |
hasModRevision()
mod_revision is the last modified revision of the given key.
|
boolean |
hasValue()
value is the value of the given key, in bytes.
|
boolean |
hasVersion()
version is the version of the given key
int64 version = 4; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getResultValue()
result is logical comparison operation for this comparison.
.etcdserverpb.Compare.CompareResult result = 1;Compare.CompareResult getResult()
result is logical comparison operation for this comparison.
.etcdserverpb.Compare.CompareResult result = 1;int getTargetValue()
target is the key-value field to inspect for the comparison.
.etcdserverpb.Compare.CompareTarget target = 2;Compare.CompareTarget getTarget()
target is the key-value field to inspect for the comparison.
.etcdserverpb.Compare.CompareTarget target = 2;com.google.protobuf.ByteString getKey()
key is the subject key for the comparison operation.
bytes key = 3;boolean hasVersion()
version is the version of the given key
int64 version = 4;long getVersion()
version is the version of the given key
int64 version = 4;boolean hasCreateRevision()
create_revision is the creation revision of the given key
int64 create_revision = 5;long getCreateRevision()
create_revision is the creation revision of the given key
int64 create_revision = 5;boolean hasModRevision()
mod_revision is the last modified revision of the given key.
int64 mod_revision = 6;long getModRevision()
mod_revision is the last modified revision of the given key.
int64 mod_revision = 6;boolean hasValue()
value is the value of the given key, in bytes.
bytes value = 7;com.google.protobuf.ByteString getValue()
value is the value of the given key, in bytes.
bytes value = 7;boolean hasLease()
lease is the lease id of the given key.
int64 lease = 8;long getLease()
lease is the lease id of the given key.
int64 lease = 8;com.google.protobuf.ByteString getRangeEnd()
range_end compares the given target to all keys in the range [key, range_end). See RangeRequest for more details on key ranges.
bytes range_end = 64;Compare.TargetUnionCase getTargetUnionCase()
Copyright © 2023. All rights reserved.