Package org.apache.bookkeeper.proto
Interface BookkeeperProtocol.RequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BookkeeperProtocol.Request
,BookkeeperProtocol.Request.Builder
- Enclosing class:
- BookkeeperProtocol
public static interface BookkeeperProtocol.RequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BookkeeperProtocol.AddRequest
getAddRequest()
optional .AddRequest addRequest = 101;
BookkeeperProtocol.AddRequestOrBuilder
getAddRequestOrBuilder()
optional .AddRequest addRequest = 101;
BookkeeperProtocol.AuthMessage
getAuthRequest()
optional .AuthMessage authRequest = 102;
BookkeeperProtocol.AuthMessageOrBuilder
getAuthRequestOrBuilder()
optional .AuthMessage authRequest = 102;
BookkeeperProtocol.ForceLedgerRequest
getForceLedgerRequest()
optional .ForceLedgerRequest forceLedgerRequest = 107;
BookkeeperProtocol.ForceLedgerRequestOrBuilder
getForceLedgerRequestOrBuilder()
optional .ForceLedgerRequest forceLedgerRequest = 107;
BookkeeperProtocol.GetBookieInfoRequest
getGetBookieInfoRequest()
optional .GetBookieInfoRequest getBookieInfoRequest = 105;
BookkeeperProtocol.GetBookieInfoRequestOrBuilder
getGetBookieInfoRequestOrBuilder()
optional .GetBookieInfoRequest getBookieInfoRequest = 105;
BookkeeperProtocol.GetListOfEntriesOfLedgerRequest
getGetListOfEntriesOfLedgerRequest()
optional .GetListOfEntriesOfLedgerRequest getListOfEntriesOfLedgerRequest = 108;
BookkeeperProtocol.GetListOfEntriesOfLedgerRequestOrBuilder
getGetListOfEntriesOfLedgerRequestOrBuilder()
optional .GetListOfEntriesOfLedgerRequest getListOfEntriesOfLedgerRequest = 108;
BookkeeperProtocol.BKPacketHeader
getHeader()
required .BKPacketHeader header = 1;
BookkeeperProtocol.BKPacketHeaderOrBuilder
getHeaderOrBuilder()
required .BKPacketHeader header = 1;
BookkeeperProtocol.ReadLacRequest
getReadLacRequest()
optional .ReadLacRequest readLacRequest = 104;
BookkeeperProtocol.ReadLacRequestOrBuilder
getReadLacRequestOrBuilder()
optional .ReadLacRequest readLacRequest = 104;
BookkeeperProtocol.ReadRequest
getReadRequest()
RequestsBookkeeperProtocol.ReadRequestOrBuilder
getReadRequestOrBuilder()
RequestsBookkeeperProtocol.ContextPair
getRequestContext(int index)
to pass MDC contextint
getRequestContextCount()
to pass MDC contextjava.util.List<BookkeeperProtocol.ContextPair>
getRequestContextList()
to pass MDC contextBookkeeperProtocol.ContextPairOrBuilder
getRequestContextOrBuilder(int index)
to pass MDC contextjava.util.List<? extends BookkeeperProtocol.ContextPairOrBuilder>
getRequestContextOrBuilderList()
to pass MDC contextBookkeeperProtocol.StartTLSRequest
getStartTLSRequest()
optional .StartTLSRequest startTLSRequest = 106;
BookkeeperProtocol.StartTLSRequestOrBuilder
getStartTLSRequestOrBuilder()
optional .StartTLSRequest startTLSRequest = 106;
BookkeeperProtocol.WriteLacRequest
getWriteLacRequest()
optional .WriteLacRequest writeLacRequest = 103;
BookkeeperProtocol.WriteLacRequestOrBuilder
getWriteLacRequestOrBuilder()
optional .WriteLacRequest writeLacRequest = 103;
boolean
hasAddRequest()
optional .AddRequest addRequest = 101;
boolean
hasAuthRequest()
optional .AuthMessage authRequest = 102;
boolean
hasForceLedgerRequest()
optional .ForceLedgerRequest forceLedgerRequest = 107;
boolean
hasGetBookieInfoRequest()
optional .GetBookieInfoRequest getBookieInfoRequest = 105;
boolean
hasGetListOfEntriesOfLedgerRequest()
optional .GetListOfEntriesOfLedgerRequest getListOfEntriesOfLedgerRequest = 108;
boolean
hasHeader()
required .BKPacketHeader header = 1;
boolean
hasReadLacRequest()
optional .ReadLacRequest readLacRequest = 104;
boolean
hasReadRequest()
Requestsboolean
hasStartTLSRequest()
optional .StartTLSRequest startTLSRequest = 106;
boolean
hasWriteLacRequest()
optional .WriteLacRequest writeLacRequest = 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;
-
hasReadRequest
boolean hasReadRequest()
Requests
optional .ReadRequest readRequest = 100;
- Returns:
- Whether the readRequest field is set.
-
getReadRequest
BookkeeperProtocol.ReadRequest getReadRequest()
Requests
optional .ReadRequest readRequest = 100;
- Returns:
- The readRequest.
-
getReadRequestOrBuilder
BookkeeperProtocol.ReadRequestOrBuilder getReadRequestOrBuilder()
Requests
optional .ReadRequest readRequest = 100;
-
hasAddRequest
boolean hasAddRequest()
optional .AddRequest addRequest = 101;
- Returns:
- Whether the addRequest field is set.
-
getAddRequest
BookkeeperProtocol.AddRequest getAddRequest()
optional .AddRequest addRequest = 101;
- Returns:
- The addRequest.
-
getAddRequestOrBuilder
BookkeeperProtocol.AddRequestOrBuilder getAddRequestOrBuilder()
optional .AddRequest addRequest = 101;
-
hasAuthRequest
boolean hasAuthRequest()
optional .AuthMessage authRequest = 102;
- Returns:
- Whether the authRequest field is set.
-
getAuthRequest
BookkeeperProtocol.AuthMessage getAuthRequest()
optional .AuthMessage authRequest = 102;
- Returns:
- The authRequest.
-
getAuthRequestOrBuilder
BookkeeperProtocol.AuthMessageOrBuilder getAuthRequestOrBuilder()
optional .AuthMessage authRequest = 102;
-
hasWriteLacRequest
boolean hasWriteLacRequest()
optional .WriteLacRequest writeLacRequest = 103;
- Returns:
- Whether the writeLacRequest field is set.
-
getWriteLacRequest
BookkeeperProtocol.WriteLacRequest getWriteLacRequest()
optional .WriteLacRequest writeLacRequest = 103;
- Returns:
- The writeLacRequest.
-
getWriteLacRequestOrBuilder
BookkeeperProtocol.WriteLacRequestOrBuilder getWriteLacRequestOrBuilder()
optional .WriteLacRequest writeLacRequest = 103;
-
hasReadLacRequest
boolean hasReadLacRequest()
optional .ReadLacRequest readLacRequest = 104;
- Returns:
- Whether the readLacRequest field is set.
-
getReadLacRequest
BookkeeperProtocol.ReadLacRequest getReadLacRequest()
optional .ReadLacRequest readLacRequest = 104;
- Returns:
- The readLacRequest.
-
getReadLacRequestOrBuilder
BookkeeperProtocol.ReadLacRequestOrBuilder getReadLacRequestOrBuilder()
optional .ReadLacRequest readLacRequest = 104;
-
hasGetBookieInfoRequest
boolean hasGetBookieInfoRequest()
optional .GetBookieInfoRequest getBookieInfoRequest = 105;
- Returns:
- Whether the getBookieInfoRequest field is set.
-
getGetBookieInfoRequest
BookkeeperProtocol.GetBookieInfoRequest getGetBookieInfoRequest()
optional .GetBookieInfoRequest getBookieInfoRequest = 105;
- Returns:
- The getBookieInfoRequest.
-
getGetBookieInfoRequestOrBuilder
BookkeeperProtocol.GetBookieInfoRequestOrBuilder getGetBookieInfoRequestOrBuilder()
optional .GetBookieInfoRequest getBookieInfoRequest = 105;
-
hasStartTLSRequest
boolean hasStartTLSRequest()
optional .StartTLSRequest startTLSRequest = 106;
- Returns:
- Whether the startTLSRequest field is set.
-
getStartTLSRequest
BookkeeperProtocol.StartTLSRequest getStartTLSRequest()
optional .StartTLSRequest startTLSRequest = 106;
- Returns:
- The startTLSRequest.
-
getStartTLSRequestOrBuilder
BookkeeperProtocol.StartTLSRequestOrBuilder getStartTLSRequestOrBuilder()
optional .StartTLSRequest startTLSRequest = 106;
-
hasForceLedgerRequest
boolean hasForceLedgerRequest()
optional .ForceLedgerRequest forceLedgerRequest = 107;
- Returns:
- Whether the forceLedgerRequest field is set.
-
getForceLedgerRequest
BookkeeperProtocol.ForceLedgerRequest getForceLedgerRequest()
optional .ForceLedgerRequest forceLedgerRequest = 107;
- Returns:
- The forceLedgerRequest.
-
getForceLedgerRequestOrBuilder
BookkeeperProtocol.ForceLedgerRequestOrBuilder getForceLedgerRequestOrBuilder()
optional .ForceLedgerRequest forceLedgerRequest = 107;
-
hasGetListOfEntriesOfLedgerRequest
boolean hasGetListOfEntriesOfLedgerRequest()
optional .GetListOfEntriesOfLedgerRequest getListOfEntriesOfLedgerRequest = 108;
- Returns:
- Whether the getListOfEntriesOfLedgerRequest field is set.
-
getGetListOfEntriesOfLedgerRequest
BookkeeperProtocol.GetListOfEntriesOfLedgerRequest getGetListOfEntriesOfLedgerRequest()
optional .GetListOfEntriesOfLedgerRequest getListOfEntriesOfLedgerRequest = 108;
- Returns:
- The getListOfEntriesOfLedgerRequest.
-
getGetListOfEntriesOfLedgerRequestOrBuilder
BookkeeperProtocol.GetListOfEntriesOfLedgerRequestOrBuilder getGetListOfEntriesOfLedgerRequestOrBuilder()
optional .GetListOfEntriesOfLedgerRequest getListOfEntriesOfLedgerRequest = 108;
-
getRequestContextList
java.util.List<BookkeeperProtocol.ContextPair> getRequestContextList()
to pass MDC context
repeated .ContextPair requestContext = 200;
-
getRequestContext
BookkeeperProtocol.ContextPair getRequestContext(int index)
to pass MDC context
repeated .ContextPair requestContext = 200;
-
getRequestContextCount
int getRequestContextCount()
to pass MDC context
repeated .ContextPair requestContext = 200;
-
getRequestContextOrBuilderList
java.util.List<? extends BookkeeperProtocol.ContextPairOrBuilder> getRequestContextOrBuilderList()
to pass MDC context
repeated .ContextPair requestContext = 200;
-
getRequestContextOrBuilder
BookkeeperProtocol.ContextPairOrBuilder getRequestContextOrBuilder(int index)
to pass MDC context
repeated .ContextPair requestContext = 200;
-
-