summaryrefslogtreecommitdiffstats
path: root/protos/lib/src/generated/todo.pb.dart
diff options
context:
space:
mode:
Diffstat (limited to 'protos/lib/src/generated/todo.pb.dart')
-rw-r--r--protos/lib/src/generated/todo.pb.dart146
1 files changed, 0 insertions, 146 deletions
diff --git a/protos/lib/src/generated/todo.pb.dart b/protos/lib/src/generated/todo.pb.dart
deleted file mode 100644
index d42a385..0000000
--- a/protos/lib/src/generated/todo.pb.dart
+++ /dev/null
@@ -1,146 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: todo.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-import 'dart:core' as $core;
-
-import 'package:protobuf/protobuf.dart' as $pb;
-
-class Todo extends $pb.GeneratedMessage {
- factory Todo({
- $core.int? id,
- $core.String? title,
- $core.bool? completed,
- }) {
- final $result = create();
- if (id != null) {
- $result.id = id;
- }
- if (title != null) {
- $result.title = title;
- }
- if (completed != null) {
- $result.completed = completed;
- }
- return $result;
- }
- Todo._() : super();
- factory Todo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory Todo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Todo', createEmptyInstance: create)
- ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
- ..aOS(2, _omitFieldNames ? '' : 'title')
- ..aOB(3, _omitFieldNames ? '' : 'completed')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- Todo clone() => Todo()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Todo copyWith(void Function(Todo) updates) => super.copyWith((message) => updates(message as Todo)) as Todo;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Todo create() => Todo._();
- Todo createEmptyInstance() => create();
- static $pb.PbList<Todo> createRepeated() => $pb.PbList<Todo>();
- @$core.pragma('dart2js:noInline')
- static Todo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Todo>(create);
- static Todo? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.int get id => $_getIZ(0);
- @$pb.TagNumber(1)
- set id($core.int v) { $_setSignedInt32(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasId() => $_has(0);
- @$pb.TagNumber(1)
- void clearId() => clearField(1);
-
- @$pb.TagNumber(2)
- $core.String get title => $_getSZ(1);
- @$pb.TagNumber(2)
- set title($core.String v) { $_setString(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasTitle() => $_has(1);
- @$pb.TagNumber(2)
- void clearTitle() => clearField(2);
-
- @$pb.TagNumber(3)
- $core.bool get completed => $_getBF(2);
- @$pb.TagNumber(3)
- set completed($core.bool v) { $_setBool(2, v); }
- @$pb.TagNumber(3)
- $core.bool hasCompleted() => $_has(2);
- @$pb.TagNumber(3)
- void clearCompleted() => clearField(3);
-}
-
-class GetTodoByIdRequest extends $pb.GeneratedMessage {
- factory GetTodoByIdRequest({
- $core.int? id,
- }) {
- final $result = create();
- if (id != null) {
- $result.id = id;
- }
- return $result;
- }
- GetTodoByIdRequest._() : super();
- factory GetTodoByIdRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory GetTodoByIdRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTodoByIdRequest', createEmptyInstance: create)
- ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- GetTodoByIdRequest clone() => GetTodoByIdRequest()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- GetTodoByIdRequest copyWith(void Function(GetTodoByIdRequest) updates) => super.copyWith((message) => updates(message as GetTodoByIdRequest)) as GetTodoByIdRequest;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static GetTodoByIdRequest create() => GetTodoByIdRequest._();
- GetTodoByIdRequest createEmptyInstance() => create();
- static $pb.PbList<GetTodoByIdRequest> createRepeated() => $pb.PbList<GetTodoByIdRequest>();
- @$core.pragma('dart2js:noInline')
- static GetTodoByIdRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetTodoByIdRequest>(create);
- static GetTodoByIdRequest? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.int get id => $_getIZ(0);
- @$pb.TagNumber(1)
- set id($core.int v) { $_setSignedInt32(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasId() => $_has(0);
- @$pb.TagNumber(1)
- void clearId() => clearField(1);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');