event.pbenum.dart 1.3 KB

123456789101112131415161718192021222324252627282930
  1. ///
  2. // Generated code. Do not modify.
  3. // source: event.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 EditorEvent extends $pb.ProtobufEnum {
  11. static const EditorEvent CreateDoc = EditorEvent._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CreateDoc');
  12. static const EditorEvent UpdateDoc = EditorEvent._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UpdateDoc');
  13. static const EditorEvent ReadDoc = EditorEvent._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'ReadDoc');
  14. static const EditorEvent DeleteDoc = EditorEvent._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DeleteDoc');
  15. static const $core.List<EditorEvent> values = <EditorEvent> [
  16. CreateDoc,
  17. UpdateDoc,
  18. ReadDoc,
  19. DeleteDoc,
  20. ];
  21. static final $core.Map<$core.int, EditorEvent> _byValue = $pb.ProtobufEnum.initByValue(values);
  22. static EditorEvent? valueOf($core.int value) => _byValue[value];
  23. const EditorEvent._($core.int v, $core.String n) : super(v, n);
  24. }