io.etcd.jetcd.api.ResignRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: election.proto
package io.etcd.jetcd.api;
public interface ResignRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v3electionpb.ResignRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* leader is the leadership to relinquish by resignation.
*
*
* .v3electionpb.LeaderKey leader = 1;
* @return Whether the leader field is set.
*/
boolean hasLeader();
/**
*
* leader is the leadership to relinquish by resignation.
*
*
* .v3electionpb.LeaderKey leader = 1;
* @return The leader.
*/
io.etcd.jetcd.api.LeaderKey getLeader();
/**
*
* leader is the leadership to relinquish by resignation.
*
*
* .v3electionpb.LeaderKey leader = 1;
*/
io.etcd.jetcd.api.LeaderKeyOrBuilder getLeaderOrBuilder();
}