Package org.apache.bookkeeper.proto
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BookkeeperProtocol.AddResponse
getAddResponse()
optional .AddResponse addResponse = 101;
BookkeeperProtocol.AddResponseOrBuilder
getAddResponseOrBuilder()
optional .AddResponse addResponse = 101;
BookkeeperProtocol.AuthMessage
getAuthResponse()
optional .AuthMessage authResponse = 102;
BookkeeperProtocol.AuthMessageOrBuilder
getAuthResponseOrBuilder()
optional .AuthMessage authResponse = 102;
BookkeeperProtocol.ForceLedgerResponse
getForceLedgerResponse()
optional .ForceLedgerResponse forceLedgerResponse = 107;
BookkeeperProtocol.ForceLedgerResponseOrBuilder
getForceLedgerResponseOrBuilder()
optional .ForceLedgerResponse forceLedgerResponse = 107;
BookkeeperProtocol.GetBookieInfoResponse
getGetBookieInfoResponse()
optional .GetBookieInfoResponse getBookieInfoResponse = 105;
BookkeeperProtocol.GetBookieInfoResponseOrBuilder
getGetBookieInfoResponseOrBuilder()
optional .GetBookieInfoResponse getBookieInfoResponse = 105;
BookkeeperProtocol.GetListOfEntriesOfLedgerResponse
getGetListOfEntriesOfLedgerResponse()
optional .GetListOfEntriesOfLedgerResponse getListOfEntriesOfLedgerResponse = 108;
BookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
getGetListOfEntriesOfLedgerResponseOrBuilder()
optional .GetListOfEntriesOfLedgerResponse getListOfEntriesOfLedgerResponse = 108;
BookkeeperProtocol.BKPacketHeader
getHeader()
required .BKPacketHeader header = 1;
BookkeeperProtocol.BKPacketHeaderOrBuilder
getHeaderOrBuilder()
required .BKPacketHeader header = 1;
BookkeeperProtocol.ReadLacResponse
getReadLacResponse()
optional .ReadLacResponse readLacResponse = 104;
BookkeeperProtocol.ReadLacResponseOrBuilder
getReadLacResponseOrBuilder()
optional .ReadLacResponse readLacResponse = 104;
BookkeeperProtocol.ReadResponse
getReadResponse()
ResponseBookkeeperProtocol.ReadResponseOrBuilder
getReadResponseOrBuilder()
ResponseBookkeeperProtocol.StartTLSResponse
getStartTLSResponse()
optional .StartTLSResponse startTLSResponse = 106;
BookkeeperProtocol.StartTLSResponseOrBuilder
getStartTLSResponseOrBuilder()
optional .StartTLSResponse startTLSResponse = 106;
BookkeeperProtocol.StatusCode
getStatus()
EOK if the underlying request succeeded.BookkeeperProtocol.WriteLacResponse
getWriteLacResponse()
optional .WriteLacResponse writeLacResponse = 103;
BookkeeperProtocol.WriteLacResponseOrBuilder
getWriteLacResponseOrBuilder()
optional .WriteLacResponse writeLacResponse = 103;
boolean
hasAddResponse()
optional .AddResponse addResponse = 101;
boolean
hasAuthResponse()
optional .AuthMessage authResponse = 102;
boolean
hasForceLedgerResponse()
optional .ForceLedgerResponse forceLedgerResponse = 107;
boolean
hasGetBookieInfoResponse()
optional .GetBookieInfoResponse getBookieInfoResponse = 105;
boolean
hasGetListOfEntriesOfLedgerResponse()
optional .GetListOfEntriesOfLedgerResponse getListOfEntriesOfLedgerResponse = 108;
boolean
hasHeader()
required .BKPacketHeader header = 1;
boolean
hasReadLacResponse()
optional .ReadLacResponse readLacResponse = 104;
boolean
hasReadResponse()
Responseboolean
hasStartTLSResponse()
optional .StartTLSResponse startTLSResponse = 106;
boolean
hasStatus()
EOK if the underlying request succeeded.boolean
hasWriteLacResponse()
optional .WriteLacResponse writeLacResponse = 103;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHeader
boolean hasHeader()
required .BKPacketHeader header = 1;
- Returns:
- Whether the header field is set.
-
getHeader
BookkeeperProtocol.BKPacketHeader getHeader()
required .BKPacketHeader header = 1;
- Returns:
- The header.
-
getHeaderOrBuilder
BookkeeperProtocol.BKPacketHeaderOrBuilder 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
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.
-
getReadResponse
BookkeeperProtocol.ReadResponse 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
BookkeeperProtocol.AddResponse 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
BookkeeperProtocol.AuthMessage 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
BookkeeperProtocol.WriteLacResponse 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
BookkeeperProtocol.ReadLacResponse 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
BookkeeperProtocol.StartTLSResponse 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;
-
-