Type constructor
const
Type({
- Input<
String> ? edition, - Input<
List< ? fields,Field> > - Input<
String> ? name, - Input<
List< ? oneofs,String> > - Input<
List< ? options,Option> > - Input<
SourceContext> ? sourceContext, - Input<
TypeSyntax> ? syntax,
Creates a new Type.
edition The source edition string, only valid when syntax is SYNTAX_EDITIONS.
fields The list of fields.
name The fully qualified message name.
oneofs The list of types appearing in oneof definitions in this type.
options The protocol buffer options.
sourceContext The source context.
syntax The source syntax.
Implementation
const Type({
this.edition,
this.fields,
this.name,
this.oneofs,
this.options,
this.sourceContext,
this.syntax,
});