import { Field } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts";
Reflected message field.
Static Methods
d<T extends >(): FieldDecorator
| number
| number[]
| Long
| Long[]
| string
| string[]
| boolean
| boolean[]
| Uint8Array
| Uint8Array[]
| Buffer
| Buffer[]
fieldId: number,
fieldType: (),
| "double"
| "float"
| "int32"
| "uint32"
| "sint32"
| "fixed32"
| "sfixed32"
| "int64"
| "uint64"
| "sint64"
| "fixed64"
| "sfixed64"
| "string"
| "bool"
| "bytes"
| object
fieldRule?: ("optional" | "required" | "repeated"),
defaultValue?: T,
Field decorator (TypeScript).