io.etcd.jetcd.api.CampaignRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: election.proto
package io.etcd.jetcd.api;
public interface CampaignRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v3electionpb.CampaignRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* name is the election's identifier for the campaign.
*
*
* bytes name = 1;
* @return The name.
*/
com.google.protobuf.ByteString getName();
/**
*
* lease is the ID of the lease attached to leadership of the election. If the
* lease expires or is revoked before resigning leadership, then the
* leadership is transferred to the next campaigner, if any.
*
*
* int64 lease = 2;
* @return The lease.
*/
long getLease();
/**
*
* value is the initial proclaimed value set when the campaigner wins the
* election.
*
*
* bytes value = 3;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}