io.helidon.config.etcd.internal.client.proto.StatusResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.helidon.config.etcd.internal.client.proto;
public interface StatusResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.StatusResponse)
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.helidon.config.etcd.internal.client.proto.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
io.helidon.config.etcd.internal.client.proto.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
* version is the cluster protocol version used by the responding member.
*
*
* string version = 2;
* @return The version.
*/
java.lang.String getVersion();
/**
*
* version is the cluster protocol version used by the responding member.
*
*
* string version = 2;
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* dbSize is the size of the backend database, in bytes, of the responding member.
*
*
* int64 dbSize = 3;
* @return The dbSize.
*/
long getDbSize();
/**
*
* leader is the member ID which the responding member believes is the current leader.
*
*
* uint64 leader = 4;
* @return The leader.
*/
long getLeader();
/**
*
* raftIndex is the current raft index of the responding member.
*
*
* uint64 raftIndex = 5;
* @return The raftIndex.
*/
long getRaftIndex();
/**
*
* raftTerm is the current raft term of the responding member.
*
*
* uint64 raftTerm = 6;
* @return The raftTerm.
*/
long getRaftTerm();
}