io.etcd.jetcd.api.CampaignResponseOrBuilder 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 CampaignResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v3electionpb.CampaignResponse)
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();
/**
*
* leader describes the resources used for holding leadereship of the election.
*
*
* .v3electionpb.LeaderKey leader = 2;
* @return Whether the leader field is set.
*/
boolean hasLeader();
/**
*
* leader describes the resources used for holding leadereship of the election.
*
*
* .v3electionpb.LeaderKey leader = 2;
* @return The leader.
*/
io.etcd.jetcd.api.LeaderKey getLeader();
/**
*
* leader describes the resources used for holding leadereship of the election.
*
*
* .v3electionpb.LeaderKey leader = 2;
*/
io.etcd.jetcd.api.LeaderKeyOrBuilder getLeaderOrBuilder();
}