Interface BookkeeperProtocol.BKPacketHeaderOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BookkeeperProtocol.BKPacketHeader, BookkeeperProtocol.BKPacketHeader.Builder
Enclosing class:
BookkeeperProtocol

public static interface BookkeeperProtocol.BKPacketHeaderOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    required .OperationType operation = 2;
    int
    optional uint32 priority = 4 [default = 0];
    long
    required uint64 txnId = 3;
    required .ProtocolVersion version = 1;
    boolean
    required .OperationType operation = 2;
    boolean
    optional uint32 priority = 4 [default = 0];
    boolean
    required uint64 txnId = 3;
    boolean
    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 Details

    • hasVersion

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

      required .ProtocolVersion version = 1;
      Returns:
      The version.
    • hasOperation

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

      required .OperationType operation = 2;
      Returns:
      The operation.
    • 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.