summaryrefslogtreecommitdiffstats
path: root/protos/lib/src/generated/todo.pb.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-14 17:20:58 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-14 17:31:12 -0300
commit70ec8a79a121471a004e7e4c23157d10157e136f (patch)
treea4f9c0a4fac4e4274ec4324a289b6ef62e1c5653 /protos/lib/src/generated/todo.pb.dart
Initial cleanup push.
Based on agldemo2024 on commit 2a5dc04d801134338150c3f6afc67eaa65599763 Disable device preview. Disable Lottie animation. The original commit was b3c493c340fcb4bb0a937692838fc830bec3e9ea but I am just keeping this change, because the json did not really needed to change. I think. Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'protos/lib/src/generated/todo.pb.dart')
-rw-r--r--protos/lib/src/generated/todo.pb.dart146
1 files changed, 146 insertions, 0 deletions
diff --git a/protos/lib/src/generated/todo.pb.dart b/protos/lib/src/generated/todo.pb.dart
new file mode 100644
index 0000000..d42a385
--- /dev/null
+++ b/protos/lib/src/generated/todo.pb.dart
@@ -0,0 +1,146 @@
+//
+// 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');