All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.etcd.jetcd.api.CompareOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: rpc.proto

// Protobuf Java Version: 3.25.1
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 Whether the version field is set. */ boolean hasVersion(); /** *
   * 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 Whether the createRevision field is set. */ boolean hasCreateRevision(); /** *
   * 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 Whether the modRevision field is set. */ boolean hasModRevision(); /** *
   * 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 Whether the value field is set. */ boolean hasValue(); /** *
   * 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 = 64; * @return The rangeEnd. */ com.google.protobuf.ByteString getRangeEnd(); io.etcd.jetcd.api.Compare.TargetUnionCase getTargetUnionCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy