io.etcd.jetcd.api.CompareOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.etcd.jetcd.api;
public interface CompareOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.Compare)
com.google.protobuf.MessageOrBuilder {
/**
*
* result is logical comparison operation for this comparison.
*
*
* .etcdserverpb.Compare.CompareResult result = 1;
* @return The enum numeric value on the wire for result.
*/
int getResultValue();
/**
*
* result is logical comparison operation for this comparison.
*
*
* .etcdserverpb.Compare.CompareResult result = 1;
* @return The result.
*/
io.etcd.jetcd.api.Compare.CompareResult getResult();
/**
*
* target is the key-value field to inspect for the comparison.
*
*
* .etcdserverpb.Compare.CompareTarget target = 2;
* @return The enum numeric value on the wire for target.
*/
int getTargetValue();
/**
*
* target is the key-value field to inspect for the comparison.
*
*
* .etcdserverpb.Compare.CompareTarget target = 2;
* @return The target.
*/
io.etcd.jetcd.api.Compare.CompareTarget getTarget();
/**
*
* key is the subject key for the comparison operation.
*
*
* bytes key = 3;
* @return The key.
*/
com.google.protobuf.ByteString getKey();
/**
*
* version is the version of the given key
*
*
* int64 version = 4;
* @return The version.
*/
long getVersion();
/**
*
* create_revision is the creation revision of the given key
*
*
* int64 create_revision = 5;
* @return The createRevision.
*/
long getCreateRevision();
/**
*
* mod_revision is the last modified revision of the given key.
*
*
* int64 mod_revision = 6;
* @return The modRevision.
*/
long getModRevision();
/**
*
* value is the value of the given key, in bytes.
*
*
* bytes value = 7;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
/**
*
* 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;
* @return The rangeEnd.
*/
com.google.protobuf.ByteString getRangeEnd();
public io.etcd.jetcd.api.Compare.TargetUnionCase getTargetUnionCase();
}