grid.pbenum.dart 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ///
  2. // Generated code. Do not modify.
  3. // source: grid.proto
  4. //
  5. // @dart = 2.12
  6. // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
  7. // ignore_for_file: UNDEFINED_SHOWN_NAME
  8. import 'dart:core' as $core;
  9. import 'package:protobuf/protobuf.dart' as $pb;
  10. class MoveItemType extends $pb.ProtobufEnum {
  11. static const MoveItemType MoveField = MoveItemType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MoveField');
  12. static const MoveItemType MoveRow = MoveItemType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MoveRow');
  13. static const $core.List<MoveItemType> values = <MoveItemType> [
  14. MoveField,
  15. MoveRow,
  16. ];
  17. static final $core.Map<$core.int, MoveItemType> _byValue = $pb.ProtobufEnum.initByValue(values);
  18. static MoveItemType? valueOf($core.int value) => _byValue[value];
  19. const MoveItemType._($core.int v, $core.String n) : super(v, n);
  20. }
  21. class FieldType extends $pb.ProtobufEnum {
  22. static const FieldType RichText = FieldType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'RichText');
  23. static const FieldType Number = FieldType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Number');
  24. static const FieldType DateTime = FieldType._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DateTime');
  25. static const FieldType SingleSelect = FieldType._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'SingleSelect');
  26. static const FieldType MultiSelect = FieldType._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MultiSelect');
  27. static const FieldType Checkbox = FieldType._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Checkbox');
  28. static const $core.List<FieldType> values = <FieldType> [
  29. RichText,
  30. Number,
  31. DateTime,
  32. SingleSelect,
  33. MultiSelect,
  34. Checkbox,
  35. ];
  36. static final $core.Map<$core.int, FieldType> _byValue = $pb.ProtobufEnum.initByValue(values);
  37. static FieldType? valueOf($core.int value) => _byValue[value];
  38. const FieldType._($core.int v, $core.String n) : super(v, n);
  39. }