Interface BookkeeperProtocol.BKPacketHeaderOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BookkeeperProtocol.OperationType getOperation()
      required .OperationType operation = 2;
      int getPriority()
      optional uint32 priority = 4 [default = 0];
      long getTxnId()
      required uint64 txnId = 3;
      BookkeeperProtocol.ProtocolVersion getVersion()
      required .ProtocolVersion version = 1;
      boolean hasOperation()
      required .OperationType operation = 2;
      boolean hasPriority()
      optional uint32 priority = 4 [default = 0];
      boolean hasTxnId()
      required uint64 txnId = 3;
      boolean hasVersion()
      required .ProtocolVersion version = 1;
      • 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

      • hasVersion

        boolean hasVersion()
        required .ProtocolVersion version = 1;
        Returns:
        Whether the version field is set.
      • hasOperation

        boolean hasOperation()
        required .OperationType operation = 2;
        Returns:
        Whether the operation field is set.
      • hasTxnId

        boolean hasTxnId()
        required uint64 txnId = 3;
        Returns:
        Whether the txnId field is set.
      • getTxnId

        long getTxnId()
        required uint64 txnId = 3;
        Returns:
        The txnId.
      • hasPriority

        boolean hasPriority()
        optional uint32 priority = 4 [default = 0];
        Returns:
        Whether the priority field is set.
      • getPriority

        int getPriority()
        optional uint32 priority = 4 [default = 0];
        Returns:
        The priority.