object BlockElement extends ValidatingThriftStructCodec3[BlockElement] with StructBuilderFactory[BlockElement] with Serializable
- Alphabetic
- By Inheritance
- BlockElement
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Immutable extends BlockElement
The default read-only implementation of BlockElement.
The default read-only implementation of BlockElement. You typically should not need to directly reference this class; instead, use the BlockElement.apply method to construct new instances.
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
- val AssetsField: TField
- val AssetsFieldManifest: Manifest[Seq[Asset]]
- val AudioTypeDataField: TField
- val AudioTypeDataFieldManifest: Manifest[AudioElementFields]
- val CalloutTypeDataField: TField
- val CalloutTypeDataFieldManifest: Manifest[CalloutElementFields]
- val CartoonTypeDataField: TField
- val CartoonTypeDataFieldManifest: Manifest[CartoonElementFields]
- val CodeTypeDataField: TField
- val CodeTypeDataFieldManifest: Manifest[CodeElementFields]
- val CommentTypeDataField: TField
- val CommentTypeDataFieldManifest: Manifest[CommentElementFields]
- val ContentAtomTypeDataField: TField
- val ContentAtomTypeDataFieldManifest: Manifest[ContentAtomElementFields]
- val DocumentTypeDataField: TField
- val DocumentTypeDataFieldManifest: Manifest[StandardElementFields]
- val EmbedTypeDataField: TField
- val EmbedTypeDataFieldManifest: Manifest[EmbedElementFields]
- val ImageTypeDataField: TField
- val ImageTypeDataFieldManifest: Manifest[ImageElementFields]
- val InstagramTypeDataField: TField
- val InstagramTypeDataFieldManifest: Manifest[InstagramElementFields]
- val InteractiveTypeDataField: TField
- val InteractiveTypeDataFieldManifest: Manifest[InteractiveElementFields]
- val LinkTypeDataField: TField
- val LinkTypeDataFieldManifest: Manifest[LinkElementFields]
- val ListTypeDataField: TField
- val ListTypeDataFieldManifest: Manifest[ListElementFields]
- val MapTypeDataField: TField
- val MapTypeDataFieldManifest: Manifest[StandardElementFields]
- val MembershipTypeDataField: TField
- val MembershipTypeDataFieldManifest: Manifest[MembershipElementFields]
- val PullquoteTypeDataField: TField
- val PullquoteTypeDataFieldManifest: Manifest[PullquoteElementFields]
- val RecipeTypeDataField: TField
- val RecipeTypeDataFieldManifest: Manifest[RecipeElementFields]
- val RichLinkTypeDataField: TField
- val RichLinkTypeDataFieldManifest: Manifest[RichLinkElementFields]
- val Struct: TStruct
- val TableTypeDataField: TField
- val TableTypeDataFieldManifest: Manifest[StandardElementFields]
- val TextTypeDataField: TField
- val TextTypeDataFieldManifest: Manifest[TextElementFields]
- val TimelineTypeDataField: TField
- val TimelineTypeDataFieldManifest: Manifest[TimelineElementFields]
- val TrackingField: TField
- val TrackingFieldManifest: Manifest[EmbedTracking]
- val TweetTypeDataField: TField
- val TweetTypeDataFieldManifest: Manifest[TweetElementFields]
- val TypeField: TField
- val TypeFieldI32: TField
- val TypeFieldManifest: Manifest[ElementType]
- val VideoTypeDataField: TField
- val VideoTypeDataFieldManifest: Manifest[VideoElementFields]
- val VineTypeDataField: TField
- val VineTypeDataFieldManifest: Manifest[VineElementFields]
- val WitnessTypeDataField: TField
- val WitnessTypeDataFieldManifest: Manifest[WitnessElementFields]
- def apply(type: ElementType, assets: Seq[Asset] = _root_.scala.collection.immutable.Nil, textTypeData: Option[TextElementFields] = _root_.scala.None, videoTypeData: Option[VideoElementFields] = _root_.scala.None, tweetTypeData: Option[TweetElementFields] = _root_.scala.None, imageTypeData: Option[ImageElementFields] = _root_.scala.None, audioTypeData: Option[AudioElementFields] = _root_.scala.None, pullquoteTypeData: Option[PullquoteElementFields] = _root_.scala.None, interactiveTypeData: Option[InteractiveElementFields] = _root_.scala.None, mapTypeData: Option[StandardElementFields] = _root_.scala.None, documentTypeData: Option[StandardElementFields] = _root_.scala.None, tableTypeData: Option[StandardElementFields] = _root_.scala.None, witnessTypeData: Option[WitnessElementFields] = _root_.scala.None, richLinkTypeData: Option[RichLinkElementFields] = _root_.scala.None, membershipTypeData: Option[MembershipElementFields] = _root_.scala.None, embedTypeData: Option[EmbedElementFields] = _root_.scala.None, instagramTypeData: Option[InstagramElementFields] = _root_.scala.None, commentTypeData: Option[CommentElementFields] = _root_.scala.None, vineTypeData: Option[VineElementFields] = _root_.scala.None, contentAtomTypeData: Option[ContentAtomElementFields] = _root_.scala.None, tracking: Option[EmbedTracking] = _root_.scala.None, codeTypeData: Option[CodeElementFields] = _root_.scala.None, calloutTypeData: Option[CalloutElementFields] = _root_.scala.None, cartoonTypeData: Option[CartoonElementFields] = _root_.scala.None, recipeTypeData: Option[RecipeElementFields] = _root_.scala.None, listTypeData: Option[ListElementFields] = _root_.scala.None, timelineTypeData: Option[TimelineElementFields] = _root_.scala.None, linkTypeData: Option[LinkElementFields] = _root_.scala.None): BlockElement
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def decode(_iprot: TProtocol): BlockElement
- Definition Classes
- BlockElement → ThriftStructCodec
- def encode(_item: BlockElement, _oproto: TProtocol): Unit
- Definition Classes
- BlockElement → ThriftStructCodec
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val metaData: ThriftStructMetaData[BlockElement]
- Definition Classes
- BlockElement → ThriftStructCodec
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[BlockElement]
- Definition Classes
- BlockElement → StructBuilderFactory
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val structAnnotations: Map[String, String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def ttypeToString(byte: Byte): String
- Attributes
- protected
- Definition Classes
- ThriftStructCodec3
- lazy val unsafeEmpty: BlockElement
- def validate(_item: BlockElement): Unit
Checks that all required fields are non-null.
- final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- final def validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- def validateInstanceValue(item: BlockElement): Set[ThriftValidationViolation]
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
- Definition Classes
- BlockElement → ValidatingThriftStructCodec3
- def validateNewInstance(item: BlockElement): Seq[Issue]
Checks that the struct is a valid as a new instance.
Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.
- Definition Classes
- BlockElement → ValidatingThriftStructCodec3
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withoutPassthroughFields(original: BlockElement): BlockElement
- object Immutable extends ThriftStructCodec3[BlockElement] with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)