Interface BookkeeperProtocol.AddRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getBody()
      required bytes body = 4;
      long getEntryId()
      required int64 entryId = 2;
      BookkeeperProtocol.AddRequest.Flag getFlag()
      optional .AddRequest.Flag flag = 100;
      long getLedgerId()
      required int64 ledgerId = 1;
      com.google.protobuf.ByteString getMasterKey()
      required bytes masterKey = 3;
      int getWriteFlags()
      optional int32 writeFlags = 5;
      boolean hasBody()
      required bytes body = 4;
      boolean hasEntryId()
      required int64 entryId = 2;
      boolean hasFlag()
      optional .AddRequest.Flag flag = 100;
      boolean hasLedgerId()
      required int64 ledgerId = 1;
      boolean hasMasterKey()
      required bytes masterKey = 3;
      boolean hasWriteFlags()
      optional int32 writeFlags = 5;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.
      • 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.