All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.etcd.jetcd.api.StatusResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.8.4
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: rpc.proto

package io.etcd.jetcd.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.
   */
  io.etcd.jetcd.api.ResponseHeader getHeader();
  /**
   * .etcdserverpb.ResponseHeader header = 1;
   */
  io.etcd.jetcd.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, 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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy