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

com.ibm.etcd.api.LeaseGrantResponseOrBuilder 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 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.
   */
  com.ibm.etcd.api.ResponseHeader getHeader();
  /**
   * .etcdserverpb.ResponseHeader header = 1;
   */
  com.ibm.etcd.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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy