com.ibm.etcd.api.DeleteRangeRequestOrBuilder 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 DeleteRangeRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.DeleteRangeRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* key is the first key to delete in the range.
*
*
* bytes key = 1;
* @return The key.
*/
com.google.protobuf.ByteString getKey();
/**
*
* range_end is the key following the last key to delete for the range [key, range_end).
* If range_end is not given, the range is defined to contain only the key argument.
* If range_end is one bit larger than the given key, then the range is all the keys
* with the prefix (the given key).
* If range_end is '\0', the range is all keys greater than or equal to the key argument.
*
*
* bytes range_end = 2;
* @return The rangeEnd.
*/
com.google.protobuf.ByteString getRangeEnd();
/**
*
* If prev_kv is set, etcd gets the previous key-value pairs before deleting it.
* The previous key-value pairs will be returned in the delete response.
*
*
* bool prev_kv = 3;
* @return The prevKv.
*/
boolean getPrevKv();
}