Skip to content

Commit 4ba7483

Browse files
committed
Fix Protobuf Files
1 parent cb27947 commit 4ba7483

File tree

4 files changed

+124
-172
lines changed

4 files changed

+124
-172
lines changed

lib/base/networking/apis/google/protobuf/empty.pb.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Empty extends $pb.GeneratedMessage {
4343
..hasRequiredFields = false;
4444

4545
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
46-
Empty clone() => Empty()..mergeFromMessage(this);
46+
Empty clone() => deepCopy();
4747
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
4848
Empty copyWith(void Function(Empty) updates) =>
4949
super.copyWith((message) => updates(message as Empty)) as Empty;

lib/base/networking/apis/google/protobuf/timestamp.pb.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,13 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
133133
package:
134134
const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'),
135135
createEmptyInstance: create,
136-
toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper,
137-
fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper)
136+
wellKnownType: $mixin.WellKnownType.timestamp)
138137
..aInt64(1, _omitFieldNames ? '' : 'seconds')
139-
..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3)
138+
..aI(2, _omitFieldNames ? '' : 'nanos')
140139
..hasRequiredFields = false;
141140

142141
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
143-
Timestamp clone() => Timestamp()..mergeFromMessage(this);
142+
Timestamp clone() => deepCopy();
144143
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
145144
Timestamp copyWith(void Function(Timestamp) updates) =>
146145
super.copyWith((message) => updates(message as Timestamp)) as Timestamp;

0 commit comments

Comments
 (0)