Interface BookkeeperProtocol.ReadResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    optional bytes body = 4;
    long
    required int64 entryId = 3;
    long
    optional int64 lacUpdateTimestamp = 6;
    long
    required int64 ledgerId = 2;
    long
    Piggyback LAC
    required .StatusCode status = 1;
    boolean
    optional bytes body = 4;
    boolean
    required int64 entryId = 3;
    boolean
    optional int64 lacUpdateTimestamp = 6;
    boolean
    required int64 ledgerId = 2;
    boolean
    Piggyback LAC
    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.
    • hasEntryId

      boolean hasEntryId()
      required int64 entryId = 3;
      Returns:
      Whether the entryId field is set.
    • getEntryId

      long getEntryId()
      required int64 entryId = 3;
      Returns:
      The entryId.
    • hasBody

      boolean hasBody()
      optional bytes body = 4;
      Returns:
      Whether the body field is set.
    • getBody

      com.google.protobuf.ByteString getBody()
      optional bytes body = 4;
      Returns:
      The body.
    • hasMaxLAC

      boolean hasMaxLAC()
       Piggyback LAC
       
      optional int64 maxLAC = 5;
      Returns:
      Whether the maxLAC field is set.
    • getMaxLAC

      long getMaxLAC()
       Piggyback LAC
       
      optional int64 maxLAC = 5;
      Returns:
      The maxLAC.
    • hasLacUpdateTimestamp

      boolean hasLacUpdateTimestamp()
      optional int64 lacUpdateTimestamp = 6;
      Returns:
      Whether the lacUpdateTimestamp field is set.
    • getLacUpdateTimestamp

      long getLacUpdateTimestamp()
      optional int64 lacUpdateTimestamp = 6;
      Returns:
      The lacUpdateTimestamp.