com.ibm.etcd.api.CompareOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of etcd-java Show documentation
Show all versions of etcd-java Show documentation
etcd3 java client and utilities
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package com.ibm.etcd.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.
*/
com.ibm.etcd.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.
*/
com.ibm.etcd.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();
/**
*
* lease is the lease id of the given key.
*
*
* int64 lease = 8;
* @return The lease.
*/
long getLease();
/**
*
* 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;
* @return The rangeEnd.
*/
com.google.protobuf.ByteString getRangeEnd();
public com.ibm.etcd.api.Compare.TargetUnionCase getTargetUnionCase();
}