io.etcd.jetcd.api.RangeResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.etcd.jetcd.api;
public interface RangeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.RangeResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return The header.
*/
io.etcd.jetcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
io.etcd.jetcd.api.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
* kvs is the list of key-value pairs matched by the range request.
* kvs is empty when count is requested.
*
*
* repeated .mvccpb.KeyValue kvs = 2;
*/
java.util.List
getKvsList();
/**
*
* kvs is the list of key-value pairs matched by the range request.
* kvs is empty when count is requested.
*
*
* repeated .mvccpb.KeyValue kvs = 2;
*/
io.etcd.jetcd.api.KeyValue getKvs(int index);
/**
*
* kvs is the list of key-value pairs matched by the range request.
* kvs is empty when count is requested.
*
*
* repeated .mvccpb.KeyValue kvs = 2;
*/
int getKvsCount();
/**
*
* kvs is the list of key-value pairs matched by the range request.
* kvs is empty when count is requested.
*
*
* repeated .mvccpb.KeyValue kvs = 2;
*/
java.util.List extends io.etcd.jetcd.api.KeyValueOrBuilder>
getKvsOrBuilderList();
/**
*
* kvs is the list of key-value pairs matched by the range request.
* kvs is empty when count is requested.
*
*
* repeated .mvccpb.KeyValue kvs = 2;
*/
io.etcd.jetcd.api.KeyValueOrBuilder getKvsOrBuilder(
int index);
/**
*
* more indicates if there are more keys to return in the requested range.
*
*
* bool more = 3;
* @return The more.
*/
boolean getMore();
/**
*
* count is set to the number of keys within the range when requested.
*
*
* int64 count = 4;
* @return The count.
*/
long getCount();
}