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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: election.proto

// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;

public interface LeaderResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:v3electionpb.LeaderResponse)
    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();

  /**
   * 
   * kv is the key-value pair representing the latest leader update.
   * 
* * .mvccpb.KeyValue kv = 2; * @return Whether the kv field is set. */ boolean hasKv(); /** *
   * kv is the key-value pair representing the latest leader update.
   * 
* * .mvccpb.KeyValue kv = 2; * @return The kv. */ io.etcd.jetcd.api.KeyValue getKv(); /** *
   * kv is the key-value pair representing the latest leader update.
   * 
* * .mvccpb.KeyValue kv = 2; */ io.etcd.jetcd.api.KeyValueOrBuilder getKvOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy