class TraceIdContext extends SamplingFlags {

  public Builder toBuilder() {
    Builder result = new Builder();
    result.flags = flags;
    result.traceIdHigh = traceIdHigh;
    result.traceId = traceId;
    return result;
  }

    TraceIdContext(int flags, long traceIdHigh, long traceId);

}