io.etcd.jetcd.api.LeaseGrantResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.etcd.jetcd.api;
public interface LeaseGrantResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.LeaseGrantResponse)
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 for the granted lease.
*
*
* int64 ID = 2;
* @return The iD.
*/
long getID();
/**
*
* TTL is the server chosen lease time-to-live in seconds.
*
*
* int64 TTL = 3;
* @return The tTL.
*/
long getTTL();
/**
* string error = 4;
* @return The error.
*/
java.lang.String getError();
/**
* string error = 4;
* @return The bytes for error.
*/
com.google.protobuf.ByteString
getErrorBytes();
}