All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.etcd.api.LeaseTimeToLiveResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.0.24
Show newest version
// 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); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy