com.ibm.etcd.api.RangeResponseOrBuilder 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 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.
*/
com.ibm.etcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
com.ibm.etcd.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;
*/
com.ibm.etcd.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 com.ibm.etcd.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;
*/
com.ibm.etcd.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();
}