class Immutable extends RequestHeader
The default read-only implementation of RequestHeader. You typically should not need to directly reference this class; instead, use the RequestHeader.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- RequestHeader
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product10
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(traceId: Long, spanId: Long, parentSpanId: Option[Long] = _root_.scala.None, sampled: Option[Boolean] = _root_.scala.None, clientId: Option[ClientId] = _root_.scala.None, flags: Option[Long] = _root_.scala.None, contexts: Seq[RequestContext] = _root_.scala.collection.immutable.Nil, dest: Option[String] = _root_.scala.None, delegations: Option[Seq[Delegation]] = _root_.scala.None, traceIdHigh: Option[Long] = _root_.scala.None)
- new Immutable(traceId: Long, spanId: Long, parentSpanId: Option[Long], sampled: Option[Boolean], clientId: Option[ClientId], flags: Option[Long], contexts: Seq[RequestContext], dest: Option[String], delegations: Option[Seq[Delegation]], traceIdHigh: Option[Long], _passthroughFields: Map[Short, TFieldBlob])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: Long
- Definition Classes
- RequestHeader → Product10
- def _10: Option[Long]
- Definition Classes
- RequestHeader → Product10
- def _2: Long
- Definition Classes
- RequestHeader → Product10
- def _3: Option[Long]
- Definition Classes
- RequestHeader → Product10
- def _4: Option[Boolean]
- Definition Classes
- RequestHeader → Product10
- def _5: Option[ClientId]
- Definition Classes
- RequestHeader → Product10
- def _6: Option[Long]
- Definition Classes
- RequestHeader → Product10
- def _7: Seq[RequestContext]
- Definition Classes
- RequestHeader → Product10
- def _8: Option[String]
- Definition Classes
- RequestHeader → Product10
- def _9: Option[Seq[Delegation]]
- Definition Classes
- RequestHeader → Product10
- def _codec: ValidatingThriftStructCodec3[RequestHeader]
- Definition Classes
- RequestHeader → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Immutable → RequestHeader
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- RequestHeader → Equals
- val clientId: Option[ClientId]
- Definition Classes
- Immutable → RequestHeader
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val contexts: Seq[RequestContext]
- Definition Classes
- Immutable → RequestHeader
- def copy(traceId: Long = this.traceId, spanId: Long = this.spanId, parentSpanId: Option[Long] = this.parentSpanId, sampled: Option[Boolean] = this.sampled, clientId: Option[ClientId] = this.clientId, flags: Option[Long] = this.flags, contexts: Seq[RequestContext] = this.contexts, dest: Option[String] = this.dest, delegations: Option[Seq[Delegation]] = this.delegations, traceIdHigh: Option[Long] = this.traceIdHigh, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): RequestHeader
- Definition Classes
- RequestHeader
- val delegations: Option[Seq[Delegation]]
- Definition Classes
- Immutable → RequestHeader
- val dest: Option[String]
- Definition Classes
- Immutable → RequestHeader
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- RequestHeader → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flags: Option[Long]
- Definition Classes
- Immutable → RequestHeader
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
- Definition Classes
- RequestHeader
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- RequestHeader
- def hashCode(): Int
- Definition Classes
- RequestHeader → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[RequestHeader]
- Definition Classes
- RequestHeader
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parentSpanId: Option[Long]
- Definition Classes
- Immutable → RequestHeader
- def productArity: Int
- Definition Classes
- Product10 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product10 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- RequestHeader → Product
- val sampled: Option[Boolean]
- Definition Classes
- Immutable → RequestHeader
- def setField(_blob: TFieldBlob): RequestHeader
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
- Definition Classes
- RequestHeader
- val spanId: Long
- Definition Classes
- Immutable → RequestHeader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- RequestHeader → AnyRef → Any
- def toTuple: (Long, Long, Option[Long], Option[Boolean], Option[ClientId], Option[Long], Seq[RequestContext], Option[String], Option[Seq[Delegation]], Option[Long])
- Definition Classes
- RequestHeader
- val traceId: Long
- Definition Classes
- Immutable → RequestHeader
- val traceIdHigh: Option[Long]
- Definition Classes
- Immutable → RequestHeader
- def unsetClientId: RequestHeader
- Definition Classes
- RequestHeader
- def unsetContexts: RequestHeader
- Definition Classes
- RequestHeader
- def unsetDelegations: RequestHeader
- Definition Classes
- RequestHeader
- def unsetDest: RequestHeader
- Definition Classes
- RequestHeader
- def unsetField(_fieldId: Short): RequestHeader
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- RequestHeader
- def unsetFlags: RequestHeader
- Definition Classes
- RequestHeader
- def unsetParentSpanId: RequestHeader
- Definition Classes
- RequestHeader
- def unsetSampled: RequestHeader
- Definition Classes
- RequestHeader
- def unsetSpanId: RequestHeader
- Definition Classes
- RequestHeader
- def unsetTraceId: RequestHeader
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- RequestHeader
- def unsetTraceIdHigh: RequestHeader
- Definition Classes
- RequestHeader
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def write(_oprot: TProtocol): Unit
- Definition Classes
- RequestHeader → ThriftStruct