Package org.apache.bookkeeper.proto
Interface BookkeeperProtocol.ForceLedgerResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BookkeeperProtocol.ForceLedgerResponse
,BookkeeperProtocol.ForceLedgerResponse.Builder
- Enclosing class:
- BookkeeperProtocol
public static interface BookkeeperProtocol.ForceLedgerResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getLedgerId()
required int64 ledgerId = 2;
BookkeeperProtocol.StatusCode
getStatus()
required .StatusCode status = 1;
boolean
hasLedgerId()
required int64 ledgerId = 2;
boolean
hasStatus()
required .StatusCode status = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStatus
boolean hasStatus()
required .StatusCode status = 1;
- Returns:
- Whether the status field is set.
-
getStatus
BookkeeperProtocol.StatusCode 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.
-
-