Package org.apache.bookkeeper.proto
Interface BookkeeperProtocol.AddRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BookkeeperProtocol.AddRequest,BookkeeperProtocol.AddRequest.Builder
- Enclosing class:
- BookkeeperProtocol
public static interface BookkeeperProtocol.AddRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetBody()required bytes body = 4;longrequired int64 entryId = 2;getFlag()optional .AddRequest.Flag flag = 100;longrequired int64 ledgerId = 1;com.google.protobuf.ByteStringrequired bytes masterKey = 3;intoptional int32 writeFlags = 5;booleanhasBody()required bytes body = 4;booleanrequired int64 entryId = 2;booleanhasFlag()optional .AddRequest.Flag flag = 100;booleanrequired int64 ledgerId = 1;booleanrequired bytes masterKey = 3;booleanoptional int32 writeFlags = 5;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
-
hasFlag
boolean hasFlag()optional .AddRequest.Flag flag = 100;- Returns:
- Whether the flag field is set.
-
getFlag
BookkeeperProtocol.AddRequest.Flag getFlag()optional .AddRequest.Flag flag = 100;- Returns:
- The flag.
-
hasLedgerId
boolean hasLedgerId()required int64 ledgerId = 1;- Returns:
- Whether the ledgerId field is set.
-
getLedgerId
long getLedgerId()required int64 ledgerId = 1;- Returns:
- The ledgerId.
-
hasEntryId
boolean hasEntryId()required int64 entryId = 2;- Returns:
- Whether the entryId field is set.
-
getEntryId
long getEntryId()required int64 entryId = 2;- Returns:
- The entryId.
-
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.
-
hasWriteFlags
boolean hasWriteFlags()optional int32 writeFlags = 5;- Returns:
- Whether the writeFlags field is set.
-
getWriteFlags
int getWriteFlags()optional int32 writeFlags = 5;- Returns:
- The writeFlags.
-