Interface BookkeeperProtocol.ReadLacResponseOrBuilder

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

public static interface BookkeeperProtocol.ReadLacResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    lac sent by PutLacRequest
    com.google.protobuf.ByteString
    Actual last entry on the disk
    long
    required int64 ledgerId = 2;
    required .StatusCode status = 1;
    boolean
    lac sent by PutLacRequest
    boolean
    Actual last entry on the disk
    boolean
    required int64 ledgerId = 2;
    boolean
    required .StatusCode status = 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

    • hasStatus

      boolean hasStatus()
      required .StatusCode status = 1;
      Returns:
      Whether the status field is set.
    • getStatus

      required .StatusCode status = 1;
      Returns:
      The status.
    • hasLedgerId

      boolean hasLedgerId()
      required int64 ledgerId = 2;
      Returns:
      Whether the ledgerId field is set.
    • getLedgerId

      long getLedgerId()
      required int64 ledgerId = 2;
      Returns:
      The ledgerId.
    • hasLacBody

      boolean hasLacBody()
       lac sent by PutLacRequest
       
      optional bytes lacBody = 3;
      Returns:
      Whether the lacBody field is set.
    • getLacBody

      com.google.protobuf.ByteString getLacBody()
       lac sent by PutLacRequest
       
      optional bytes lacBody = 3;
      Returns:
      The lacBody.
    • hasLastEntryBody

      boolean hasLastEntryBody()
       Actual last entry on the disk
       
      optional bytes lastEntryBody = 4;
      Returns:
      Whether the lastEntryBody field is set.
    • getLastEntryBody

      com.google.protobuf.ByteString getLastEntryBody()
       Actual last entry on the disk
       
      optional bytes lastEntryBody = 4;
      Returns:
      The lastEntryBody.