@@ -113,25 +113,34 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
113
113
return $result;
114
114
}
115
115
Any ._() : super ();
116
- factory Any .fromBuffer ($core.List <$core.int > i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry .EMPTY ]) => create ()..mergeFromBuffer (i, r);
117
- factory Any .fromJson ($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry .EMPTY ]) => create ()..mergeFromJson (i, r);
116
+ factory Any .fromBuffer ($core.List <$core.int > i,
117
+ [$pb.ExtensionRegistry r = $pb.ExtensionRegistry .EMPTY ]) =>
118
+ create ()..mergeFromBuffer (i, r);
119
+ factory Any .fromJson ($core.String i,
120
+ [$pb.ExtensionRegistry r = $pb.ExtensionRegistry .EMPTY ]) =>
121
+ create ()..mergeFromJson (i, r);
118
122
119
- static final $pb.BuilderInfo _i = $pb.BuilderInfo (_omitMessageNames ? '' : 'Any' , package: const $pb.PackageName (_omitMessageNames ? '' : 'google.protobuf' ), createEmptyInstance: create, toProto3Json: $mixin.AnyMixin .toProto3JsonHelper, fromProto3Json: $mixin.AnyMixin .fromProto3JsonHelper)
123
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo (
124
+ _omitMessageNames ? '' : 'Any' ,
125
+ package:
126
+ const $pb.PackageName (_omitMessageNames ? '' : 'google.protobuf' ),
127
+ createEmptyInstance: create,
128
+ toProto3Json: $mixin.AnyMixin .toProto3JsonHelper,
129
+ fromProto3Json: $mixin.AnyMixin .fromProto3JsonHelper)
120
130
..aOS (1 , _omitFieldNames ? '' : 'typeUrl' )
121
- ..a< $core.List <$core.int >> (2 , _omitFieldNames ? '' : 'value' , $pb. PbFieldType . OY )
122
- ..hasRequiredFields = false
123
- ;
131
+ ..a< $core.List <$core.int >> (
132
+ 2 , _omitFieldNames ? '' : 'value' , $pb. PbFieldType . OY )
133
+ ..hasRequiredFields = false ;
124
134
125
- @$core.Deprecated (
126
- 'Using this can add significant overhead to your binary. '
127
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
128
- 'Will be removed in next major version' )
135
+ @$core.Deprecated ('Using this can add significant overhead to your binary. '
136
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
137
+ 'Will be removed in next major version' )
129
138
Any clone () => Any ()..mergeFromMessage (this );
130
- @$core.Deprecated (
131
- 'Using this can add significant overhead to your binary . '
132
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
133
- 'Will be removed in next major version' )
134
- Any copyWith ( void Function ( Any ) updates) => super .copyWith ((message) => updates (message as Any )) as Any ;
139
+ @$core.Deprecated ('Using this can add significant overhead to your binary. '
140
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead . '
141
+ 'Will be removed in next major version' )
142
+ Any copyWith ( void Function ( Any ) updates) =>
143
+ super .copyWith ((message) => updates (message as Any )) as Any ;
135
144
136
145
$pb.BuilderInfo get info_ => _i;
137
146
@@ -140,7 +149,8 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
140
149
Any createEmptyInstance () => create ();
141
150
static $pb.PbList <Any > createRepeated () => $pb.PbList <Any >();
142
151
@$core.pragma ('dart2js:noInline' )
143
- static Any getDefault () => _defaultInstance ?? = $pb.GeneratedMessage .$_defaultFor <Any >(create);
152
+ static Any getDefault () =>
153
+ _defaultInstance ?? = $pb.GeneratedMessage .$_defaultFor <Any >(create);
144
154
static Any ? _defaultInstance;
145
155
146
156
/// A URL/resource name that uniquely identifies the type of the serialized
@@ -173,7 +183,10 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
173
183
@$pb.TagNumber (1 )
174
184
$core.String get typeUrl => $_getSZ (0 );
175
185
@$pb.TagNumber (1 )
176
- set typeUrl ($core.String v) { $_setString (0 , v); }
186
+ set typeUrl ($core.String v) {
187
+ $_setString (0 , v);
188
+ }
189
+
177
190
@$pb.TagNumber (1 )
178
191
$core.bool hasTypeUrl () => $_has (0 );
179
192
@$pb.TagNumber (1 )
@@ -183,24 +196,27 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
183
196
@$pb.TagNumber (2 )
184
197
$core.List <$core.int > get value => $_getN (1 );
185
198
@$pb.TagNumber (2 )
186
- set value ($core.List <$core.int > v) { $_setBytes (1 , v); }
199
+ set value ($core.List <$core.int > v) {
200
+ $_setBytes (1 , v);
201
+ }
202
+
187
203
@$pb.TagNumber (2 )
188
204
$core.bool hasValue () => $_has (1 );
189
205
@$pb.TagNumber (2 )
190
206
void clearValue () => $_clearField (2 );
207
+
191
208
/// Creates a new [Any] encoding [message] .
192
209
///
193
210
/// The [typeUrl] will be [typeUrlPrefix] /`fullName` where `fullName` is
194
211
/// the fully qualified name of the type of [message] .
195
212
static Any pack ($pb.GeneratedMessage message,
196
- {$core.String typeUrlPrefix = 'type.googleapis.com' }) {
213
+ {$core.String typeUrlPrefix = 'type.googleapis.com' }) {
197
214
final result = create ();
198
- $mixin.AnyMixin .packIntoAny (result, message,
199
- typeUrlPrefix: typeUrlPrefix);
215
+ $mixin.AnyMixin .packIntoAny (result, message, typeUrlPrefix: typeUrlPrefix);
200
216
return result;
201
217
}
202
218
}
203
219
204
-
205
220
const _omitFieldNames = $core.bool .fromEnvironment ('protobuf.omit_field_names' );
206
- const _omitMessageNames = $core.bool .fromEnvironment ('protobuf.omit_message_names' );
221
+ const _omitMessageNames =
222
+ $core.bool .fromEnvironment ('protobuf.omit_message_names' );
0 commit comments