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
|
com.google.protobuf.ByteString |
getKey()
key is the subject key for the comparison operation.
|
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
|
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;long getVersion()
version is the version of the given key
int64 version = 4;long getCreateRevision()
create_revision is the creation revision of the given key
int64 create_revision = 5;long getModRevision()
mod_revision is the last modified revision of the given key.
int64 mod_revision = 6;com.google.protobuf.ByteString getValue()
value is the value of the given key, in bytes.
bytes value = 7;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 = 8;Compare.TargetUnionCase getTargetUnionCase()
Copyright © 2020. All rights reserved.