Interface BookkeeperProtocol.ResponseOrBuilder

    • Method Detail

      • hasHeader

        boolean hasHeader()
        required .BKPacketHeader header = 1;
        Returns:
        Whether the header field is set.
      • 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

        BookkeeperProtocol.StatusCode 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.
      • hasAddResponse

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

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

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

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

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

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

        boolean hasForceLedgerResponse()
        optional .ForceLedgerResponse forceLedgerResponse = 107;
        Returns:
        Whether the forceLedgerResponse field is set.
      • 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.