All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.etcd.jetcd.api.CampaignRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.8.4
Show newest version
// 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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy