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

io.etcd.jetcd.api.LeaderKeyOrBuilder 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 LeaderKeyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:v3electionpb.LeaderKey)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * name is the election identifier that correponds to the leadership key.
   * 
* * bytes name = 1; * @return The name. */ com.google.protobuf.ByteString getName(); /** *
   * key is an opaque key representing the ownership of the election. If the key
   * is deleted, then leadership is lost.
   * 
* * bytes key = 2; * @return The key. */ com.google.protobuf.ByteString getKey(); /** *
   * rev is the creation revision of the key. It can be used to test for ownership
   * of an election during transactions by testing the key's creation revision
   * matches rev.
   * 
* * int64 rev = 3; * @return The rev. */ long getRev(); /** *
   * lease is the lease ID of the election leader.
   * 
* * int64 lease = 4; * @return The lease. */ long getLease(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy