Block

org.plasmalabs.node.models.Block
See theBlock companion class
object Block extends GeneratedMessageCompanion[Block]

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Block]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Block.type

Members list

Type members

Classlikes

implicit class BlockLens[UpperPB](_l: Lens[UpperPB, Block]) extends ObjectLens[UpperPB, Block]

Attributes

Supertypes
class ObjectLens[UpperPB, Block]
trait Lens[UpperPB, Block]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type ValueType = Block

Attributes

Inherited from:
GeneratedMessageCompanion

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(header: BlockHeader, body: BlockBody): Block
def parseFrom(`_input__`: CodedInputStream): Block

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): Block

Attributes

Inherited from:
GeneratedMessageCompanion
def merge(a: Block, input: CodedInputStream): Block

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[Block]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[Block]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): Block

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): Block

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[Block]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: Block): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[Block]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, Block]

Attributes

Inherited from:
GeneratedMessageCompanion

Concrete fields

final val BODY_FIELD_NUMBER: 2
final val HEADER_FIELD_NUMBER: 1
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def BlockLens[UpperPB](_l: Lens[UpperPB, Block]): BlockLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[Block]
implicit def messageReads: Reads[Block]
implicit def validator: Validator[Block]