io.etcd.jetcd.api.ProclaimRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: election.proto
package io.etcd.jetcd.api;
public interface ProclaimRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v3electionpb.ProclaimRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* leader is the leadership hold on the election.
*
*
* .v3electionpb.LeaderKey leader = 1;
* @return Whether the leader field is set.
*/
boolean hasLeader();
/**
*
* leader is the leadership hold on the election.
*
*
* .v3electionpb.LeaderKey leader = 1;
* @return The leader.
*/
io.etcd.jetcd.api.LeaderKey getLeader();
/**
*
* leader is the leadership hold on the election.
*
*
* .v3electionpb.LeaderKey leader = 1;
*/
io.etcd.jetcd.api.LeaderKeyOrBuilder getLeaderOrBuilder();
/**
*
* value is an update meant to overwrite the leader's current value.
*
*
* bytes value = 2;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}