flags property

  1. @TagNumber.new(8)
int get flags

Flags, a bit field. 8 least significant bits are the trace flags as defined in W3C Trace Context specification. 24 most significant bits are reserved and must be set to 0. Readers must not assume that 24 most significant bits will be zero and must correctly mask the bits when reading 8-bit trace flag (use flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). Optional.

Implementation

@$pb.TagNumber(8)
$core.int get flags => $_getIZ(6);
  1. @TagNumber.new(8)
set flags (int v)

Implementation

@$pb.TagNumber(8)
set flags($core.int v) {
  $_setUnsignedInt32(6, v);
}