io.etcd.jetcd.api.LeaseGrantRequestOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;
public interface LeaseGrantRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.LeaseGrantRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* TTL is the advisory time-to-live in seconds.
*
*
* int64 TTL = 1;
* @return The tTL.
*/
long getTTL();
/**
*
* ID is the requested ID for the lease. If ID is set to 0, the lessor chooses an ID.
*
*
* int64 ID = 2;
* @return The iD.
*/
long getID();
}