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
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetBody()required bytes body = 4;longgetLac()required int64 lac = 2;longrequired int64 ledgerId = 1;com.google.protobuf.ByteStringrequired bytes masterKey = 3;booleanhasBody()required bytes body = 4;booleanhasLac()required int64 lac = 2;booleanrequired int64 ledgerId = 1;booleanrequired bytes masterKey = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-