import { Type } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts";
Reflected message type.
Properties
The registered constructor, if any registered, otherwise a generic constructor. Assigning a function replaces the internal constructor. If the function does not extend Message yet, its prototype will be setup accordingly and static methods will be populated. If it already extends Message, it will just replace the internal constructor.
Message fields.
Fields of this message as an array for iteration.
Message fields by id.
Methods
Adds a nested object to this type.
Creates a new message of this type using the specified properties.
Decodes a message of this type preceeded by its byte length as a varint.
Encodes a message of this type. Does not implicitly Type#verify | verify messages.
Encodes a message of this type preceeded by its byte length as a varint. Does not implicitly Type#verify | verify messages.
Creates a new message of this type from a plain object. Also converts values to their respective internal types.
Tests if the specified id is reserved.
Tests if the specified name is reserved.
Removes a nested object from this type.
Converts this message type to a message type descriptor.
Creates a plain object from a message of this type. Also converts values to other types if specified.
Verifies that field values are valid and that required fields are present.