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

io.helidon.config.etcd.internal.client.proto.LeaseTimeToLiveResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.0.10
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: rpc.proto

package io.helidon.config.etcd.internal.client.proto;

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.
   */
  io.helidon.config.etcd.internal.client.proto.ResponseHeader getHeader();
  /**
   * .etcdserverpb.ResponseHeader header = 1;
   */
  io.helidon.config.etcd.internal.client.proto.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