io.etcd.jetcd.api.LeaseKeepAliveResponseOrBuilder 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 LeaseKeepAliveResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.LeaseKeepAliveResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return The header.
*/
io.etcd.jetcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
io.etcd.jetcd.api.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
* ID is the lease ID from the keep alive request.
*
*
* int64 ID = 2;
* @return The iD.
*/
long getID();
/**
*
* TTL is the new time-to-live for the lease.
*
*
* int64 TTL = 3;
* @return The tTL.
*/
long getTTL();
}