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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetBody()required bytes body = 4;longgetEntryId()required int64 entryId = 2;BookkeeperProtocol.AddRequest.FlaggetFlag()optional .AddRequest.Flag flag = 100;longgetLedgerId()required int64 ledgerId = 1;com.google.protobuf.ByteStringgetMasterKey()required bytes masterKey = 3;intgetWriteFlags()optional int32 writeFlags = 5;booleanhasBody()required bytes body = 4;booleanhasEntryId()required int64 entryId = 2;booleanhasFlag()optional .AddRequest.Flag flag = 100;booleanhasLedgerId()required int64 ledgerId = 1;booleanhasMasterKey()required bytes masterKey = 3;booleanhasWriteFlags()optional int32 writeFlags = 5;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-