Package org.apache.bookkeeper.proto
Interface BookkeeperProtocol.WriteLacRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BookkeeperProtocol.WriteLacRequest,BookkeeperProtocol.WriteLacRequest.Builder
- Enclosing class:
- BookkeeperProtocol
public static interface BookkeeperProtocol.WriteLacRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetBody()required bytes body = 4;longgetLac()required int64 lac = 2;longgetLedgerId()required int64 ledgerId = 1;com.google.protobuf.ByteStringgetMasterKey()required bytes masterKey = 3;booleanhasBody()required bytes body = 4;booleanhasLac()required int64 lac = 2;booleanhasLedgerId()required int64 ledgerId = 1;booleanhasMasterKey()required bytes masterKey = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLedgerId
boolean hasLedgerId()
required int64 ledgerId = 1;- Returns:
- Whether the ledgerId field is set.
-
getLedgerId
long getLedgerId()
required int64 ledgerId = 1;- Returns:
- The ledgerId.
-
hasLac
boolean hasLac()
required int64 lac = 2;- Returns:
- Whether the lac field is set.
-
getLac
long getLac()
required int64 lac = 2;- Returns:
- The lac.
-
hasMasterKey
boolean hasMasterKey()
required bytes masterKey = 3;- Returns:
- Whether the masterKey field is set.
-
getMasterKey
com.google.protobuf.ByteString getMasterKey()
required bytes masterKey = 3;- Returns:
- The masterKey.
-
hasBody
boolean hasBody()
required bytes body = 4;- Returns:
- Whether the body field is set.
-
getBody
com.google.protobuf.ByteString getBody()
required bytes body = 4;- Returns:
- The body.
-
-