Interface Version.LeaseGrantRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Version.LeaseGrantRequest, Version.LeaseGrantRequest.Builder
Enclosing class:
Version

public static interface Version.LeaseGrantRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    ID is the requested ID for the lease.
    .dingodb.pb.common.RequestInfo request_info = 1;
    .dingodb.pb.common.RequestInfo request_info = 1;
    long
    TTL is the advisory time-to-live in seconds.
    boolean
    .dingodb.pb.common.RequestInfo request_info = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasRequestInfo

      boolean hasRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Returns:
      Whether the requestInfo field is set.
    • getRequestInfo

      Common.RequestInfo getRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Returns:
      The requestInfo.
    • getRequestInfoOrBuilder

      Common.RequestInfoOrBuilder getRequestInfoOrBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
    • getTTL

      long getTTL()
       TTL is the advisory time-to-live in seconds. Expired lease will return -1.
       
      int64 TTL = 2;
      Returns:
      The tTL.
    • getID

      long getID()
       ID is the requested ID for the lease. If ID is set to 0, the lessor chooses an ID.
       
      int64 ID = 3;
      Returns:
      The iD.