Readonly
LReadonly
TScalar type of the field.
Readonly
defaultOnly proto2: An explicit default value.
Optional
Readonly
delimitedSerialize this message with the delimited format, also known as group encoding, as opposed to the standard length prefix.
Only valid for message fields.
Readonly
jsonThe name for JSON serialization / deserialization.
Readonly
kindReadonly
localThe name of the field as used in generated code.
Readonly
nameThe original name of the .proto field.
Readonly
noThe field number of the .proto field.
Optional
Readonly
oneofThe oneof
group, if this field belongs to one.
Readonly
optIs the field optional?
Readonly
packedIs this repeated field packed? BYTES and STRING can never be packed, since they are length-delimited. Other types can be packed with the field option "packed". For proto3, fields are packed by default.
Readonly
repeatedIs the field repeated?
Generated using TypeDoc
JavaScript representation of 64 bit integral types (int64, uint64, sint64, fixed64, sfixed64).
By default, this is LongType.BIGINT. Generated code will use the BigInt primitive.
With LongType.STRING, generated code will use the String primitive instead. This can be specified per field with the option
[jstype = JS_STRING]
:This property is ignored for other scalar types.