com.ibm.etcd.api.LeaseGrantRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of etcd-java Show documentation
Show all versions of etcd-java Show documentation
etcd3 java client and utilities
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package com.ibm.etcd.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. Expired lease will return -1.
*
*
* 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();
}