cn.nextop.gadget.etcd.grpc.CompareOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package cn.nextop.gadget.etcd.grpc;
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;
*/
int getResultValue();
/**
*
* result is logical comparison operation for this comparison.
*
*
* .etcdserverpb.Compare.CompareResult result = 1;
*/
cn.nextop.gadget.etcd.grpc.Compare.CompareResult getResult();
/**
*
* target is the key-value field to inspect for the comparison.
*
*
* .etcdserverpb.Compare.CompareTarget target = 2;
*/
int getTargetValue();
/**
*
* target is the key-value field to inspect for the comparison.
*
*
* .etcdserverpb.Compare.CompareTarget target = 2;
*/
cn.nextop.gadget.etcd.grpc.Compare.CompareTarget getTarget();
/**
*
* key is the subject key for the comparison operation.
*
*
* bytes key = 3;
*/
com.google.protobuf.ByteString getKey();
/**
*
* version is the version of the given key
*
*
* int64 version = 4;
*/
long getVersion();
/**
*
* create_revision is the creation revision of the given key
*
*
* int64 create_revision = 5;
*/
long getCreateRevision();
/**
*
* mod_revision is the last modified revision of the given key.
*
*
* int64 mod_revision = 6;
*/
long getModRevision();
/**
*
* value is the value of the given key, in bytes.
*
*
* bytes value = 7;
*/
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;
*/
com.google.protobuf.ByteString getRangeEnd();
public cn.nextop.gadget.etcd.grpc.Compare.TargetUnionCase getTargetUnionCase();
}