ProtoAny

nscn.polaris2.protoc.runtime.ProtoAny
See theProtoAny companion class
object ProtoAny

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ProtoAny.type

Members list

Type members

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 fromJava(any: Any): ProtoAny
def messageNameOf(typeUrl: String): String

Strips the prefix from a type URL.

Strips the prefix from a type URL.

protobuf's rule is "everything after the last slash", which deliberately tolerates a missing prefix and any host.

Attributes

def pack[A <: GeneratedMessage](message: A, typeUrlPrefix: String = ...): ProtoAny

Concrete fields

val DefaultTypeUrlPrefix: String

The prefix protobuf's own implementations use when none is supplied.

The prefix protobuf's own implementations use when none is supplied.

Attributes

Givens

Givens

given derived$CanEqual: CanEqual[ProtoAny, ProtoAny]