io.etcd.jetcd.api.ResignRequestOrBuilder 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 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();
}