com.ibm.etcd.api.StatusResponseOrBuilder 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 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.
*/
com.ibm.etcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
com.ibm.etcd.api.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 physically allocated, 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 committed 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();
/**
*
* raftAppliedIndex is the current raft applied index of the responding member.
*
*
* uint64 raftAppliedIndex = 7;
* @return The raftAppliedIndex.
*/
long getRaftAppliedIndex();
/**
*
* errors contains alarm/health information and status.
*
*
* repeated string errors = 8;
* @return A list containing the errors.
*/
java.util.List
getErrorsList();
/**
*
* errors contains alarm/health information and status.
*
*
* repeated string errors = 8;
* @return The count of errors.
*/
int getErrorsCount();
/**
*
* errors contains alarm/health information and status.
*
*
* repeated string errors = 8;
* @param index The index of the element to return.
* @return The errors at the given index.
*/
java.lang.String getErrors(int index);
/**
*
* errors contains alarm/health information and status.
*
*
* repeated string errors = 8;
* @param index The index of the value to return.
* @return The bytes of the errors at the given index.
*/
com.google.protobuf.ByteString
getErrorsBytes(int index);
/**
*
* dbSizeInUse is the size of the backend database logically in use, in bytes, of the responding member.
*
*
* int64 dbSizeInUse = 9;
* @return The dbSizeInUse.
*/
long getDbSizeInUse();
}