Methods
clone
- clone<T>(message): T
Returns T
equals
- equals<T>(type, a, b): boolean
Returns boolean
initFields
- initFields(target): void
Returns void
initPartial
- initPartial<T>(source, target): void
Returns void
newFieldList
- newFieldList(fields): FieldList
setEnumType
- setEnumType(enumObject, typeName, values, opt?): void
Parameters
typeName: string
Optional
opt: {}
Returns void
Provides utilities used by generated code. All methods are internal and are not safe to use, they may break with a future release.