com.ibm.etcd.api.LeaseTimeToLiveResponseOrBuilder 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 LeaseTimeToLiveResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.LeaseTimeToLiveResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return The header.
*/
com.ibm.etcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
com.ibm.etcd.api.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
* ID is the lease ID from the keep alive request.
*
*
* int64 ID = 2;
* @return The iD.
*/
long getID();
/**
*
* TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.
*
*
* int64 TTL = 3;
* @return The tTL.
*/
long getTTL();
/**
*
* GrantedTTL is the initial granted time in seconds upon lease creation/renewal.
*
*
* int64 grantedTTL = 4;
* @return The grantedTTL.
*/
long getGrantedTTL();
/**
*
* Keys is the list of keys attached to this lease.
*
*
* repeated bytes keys = 5;
* @return A list containing the keys.
*/
java.util.List getKeysList();
/**
*
* Keys is the list of keys attached to this lease.
*
*
* repeated bytes keys = 5;
* @return The count of keys.
*/
int getKeysCount();
/**
*
* Keys is the list of keys attached to this lease.
*
*
* repeated bytes keys = 5;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
com.google.protobuf.ByteString getKeys(int index);
}