grid.pbenum.dart 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 FieldType URL = FieldType._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'URL');
  29. static const $core.List<FieldType> values = <FieldType> [
  30. RichText,
  31. Number,
  32. DateTime,
  33. SingleSelect,
  34. MultiSelect,
  35. Checkbox,
  36. URL,
  37. ];
  38. static final $core.Map<$core.int, FieldType> _byValue = $pb.ProtobufEnum.initByValue(values);
  39. static FieldType? valueOf($core.int value) => _byValue[value];
  40. const FieldType._($core.int v, $core.String n) : super(v, n);
  41. }