Interface BookkeeperProtocol.ResponseOrBuilder

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

public static interface BookkeeperProtocol.ResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasHeader

      boolean hasHeader()
      required .BKPacketHeader header = 1;
      Returns:
      Whether the header field is set.
    • getHeader

      required .BKPacketHeader header = 1;
      Returns:
      The header.
    • getHeaderOrBuilder

      required .BKPacketHeader header = 1;
    • hasStatus

      boolean hasStatus()
       EOK if the underlying request succeeded. Each individual response
       has a more meaningful status. EBADREQ if we have an unsupported request.
       
      required .StatusCode status = 2;
      Returns:
      Whether the status field is set.
    • getStatus

       EOK if the underlying request succeeded. Each individual response
       has a more meaningful status. EBADREQ if we have an unsupported request.
       
      required .StatusCode status = 2;
      Returns:
      The status.
    • hasReadResponse

      boolean hasReadResponse()
       Response
       
      optional .ReadResponse readResponse = 100;
      Returns:
      Whether the readResponse field is set.
    • getReadResponse

       Response
       
      optional .ReadResponse readResponse = 100;
      Returns:
      The readResponse.
    • getReadResponseOrBuilder

      BookkeeperProtocol.ReadResponseOrBuilder getReadResponseOrBuilder()
       Response
       
      optional .ReadResponse readResponse = 100;
    • hasAddResponse

      boolean hasAddResponse()
      optional .AddResponse addResponse = 101;
      Returns:
      Whether the addResponse field is set.
    • getAddResponse

      optional .AddResponse addResponse = 101;
      Returns:
      The addResponse.
    • getAddResponseOrBuilder

      BookkeeperProtocol.AddResponseOrBuilder getAddResponseOrBuilder()
      optional .AddResponse addResponse = 101;
    • hasAuthResponse

      boolean hasAuthResponse()
      optional .AuthMessage authResponse = 102;
      Returns:
      Whether the authResponse field is set.
    • getAuthResponse

      optional .AuthMessage authResponse = 102;
      Returns:
      The authResponse.
    • getAuthResponseOrBuilder

      BookkeeperProtocol.AuthMessageOrBuilder getAuthResponseOrBuilder()
      optional .AuthMessage authResponse = 102;
    • hasWriteLacResponse

      boolean hasWriteLacResponse()
      optional .WriteLacResponse writeLacResponse = 103;
      Returns:
      Whether the writeLacResponse field is set.
    • getWriteLacResponse

      optional .WriteLacResponse writeLacResponse = 103;
      Returns:
      The writeLacResponse.
    • getWriteLacResponseOrBuilder

      BookkeeperProtocol.WriteLacResponseOrBuilder getWriteLacResponseOrBuilder()
      optional .WriteLacResponse writeLacResponse = 103;
    • hasReadLacResponse

      boolean hasReadLacResponse()
      optional .ReadLacResponse readLacResponse = 104;
      Returns:
      Whether the readLacResponse field is set.
    • getReadLacResponse

      optional .ReadLacResponse readLacResponse = 104;
      Returns:
      The readLacResponse.
    • getReadLacResponseOrBuilder

      BookkeeperProtocol.ReadLacResponseOrBuilder getReadLacResponseOrBuilder()
      optional .ReadLacResponse readLacResponse = 104;
    • hasGetBookieInfoResponse

      boolean hasGetBookieInfoResponse()
      optional .GetBookieInfoResponse getBookieInfoResponse = 105;
      Returns:
      Whether the getBookieInfoResponse field is set.
    • getGetBookieInfoResponse

      BookkeeperProtocol.GetBookieInfoResponse getGetBookieInfoResponse()
      optional .GetBookieInfoResponse getBookieInfoResponse = 105;
      Returns:
      The getBookieInfoResponse.
    • getGetBookieInfoResponseOrBuilder

      BookkeeperProtocol.GetBookieInfoResponseOrBuilder getGetBookieInfoResponseOrBuilder()
      optional .GetBookieInfoResponse getBookieInfoResponse = 105;
    • hasStartTLSResponse

      boolean hasStartTLSResponse()
      optional .StartTLSResponse startTLSResponse = 106;
      Returns:
      Whether the startTLSResponse field is set.
    • getStartTLSResponse

      optional .StartTLSResponse startTLSResponse = 106;
      Returns:
      The startTLSResponse.
    • getStartTLSResponseOrBuilder

      BookkeeperProtocol.StartTLSResponseOrBuilder getStartTLSResponseOrBuilder()
      optional .StartTLSResponse startTLSResponse = 106;
    • hasForceLedgerResponse

      boolean hasForceLedgerResponse()
      optional .ForceLedgerResponse forceLedgerResponse = 107;
      Returns:
      Whether the forceLedgerResponse field is set.
    • getForceLedgerResponse

      BookkeeperProtocol.ForceLedgerResponse getForceLedgerResponse()
      optional .ForceLedgerResponse forceLedgerResponse = 107;
      Returns:
      The forceLedgerResponse.
    • getForceLedgerResponseOrBuilder

      BookkeeperProtocol.ForceLedgerResponseOrBuilder getForceLedgerResponseOrBuilder()
      optional .ForceLedgerResponse forceLedgerResponse = 107;
    • hasGetListOfEntriesOfLedgerResponse

      boolean hasGetListOfEntriesOfLedgerResponse()
      optional .GetListOfEntriesOfLedgerResponse getListOfEntriesOfLedgerResponse = 108;
      Returns:
      Whether the getListOfEntriesOfLedgerResponse field is set.
    • getGetListOfEntriesOfLedgerResponse

      BookkeeperProtocol.GetListOfEntriesOfLedgerResponse getGetListOfEntriesOfLedgerResponse()
      optional .GetListOfEntriesOfLedgerResponse getListOfEntriesOfLedgerResponse = 108;
      Returns:
      The getListOfEntriesOfLedgerResponse.
    • getGetListOfEntriesOfLedgerResponseOrBuilder

      BookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder getGetListOfEntriesOfLedgerResponseOrBuilder()
      optional .GetListOfEntriesOfLedgerResponse getListOfEntriesOfLedgerResponse = 108;