trait Annotation extends ThriftStruct with Product3[Long, String, Option[Endpoint]] with ValidatingThriftStruct[Annotation] with Serializable
Prefer the companion object's com.twitter.finagle.thrift.thriftscala.Annotation.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- Annotation
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product3
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete 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
- Annotation → Product3
- def _2: String
- Definition Classes
- Annotation → Product3
- def _3: Option[Endpoint]
- Definition Classes
- Annotation → Product3
- def _codec: ValidatingThriftStructCodec3[Annotation]
- Definition Classes
- Annotation → ValidatingThriftStruct → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- Annotation → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy(timestamp: Long = this.timestamp, value: String = this.value, host: Option[Endpoint] = this.host, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Annotation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Annotation → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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.
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. - def hashCode(): Int
- Definition Classes
- Annotation → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Annotation]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productArity: Int
- Definition Classes
- Product3 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product3 → 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
- Annotation → Product
- def setField(_blob: TFieldBlob): Annotation
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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Annotation → AnyRef → Any
- def toTuple: (Long, String, Option[Endpoint])
- def unsetField(_fieldId: Short): Annotation
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.
- def unsetFields(_fieldIds: Set[Short]): Annotation
If the specified fields are optional, they are set to None.
If the specified fields are optional, they are set to None. Otherwise, if the fields are known, they are reverted to their default values; if the fields are unknown, they are removed from the passthroughFields map, if present.
- def unsetHost: Annotation
- def unsetTimestamp: Annotation
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.
- def unsetValue: Annotation
- 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
- Annotation → ThriftStruct