type property

  1. @TagNumber.new(5)
FieldDescriptorProto_Type get type

If type_name is set, this need not be set. If both this and type_name are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.

Implementation

@$pb.TagNumber(5)
FieldDescriptorProto_Type get type => $_getN(4);
  1. @TagNumber.new(5)
set type (FieldDescriptorProto_Type value)

Implementation

@$pb.TagNumber(5)
set type(FieldDescriptorProto_Type value) => $_setField(5, value);