You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -5,9 +5,11 @@
|
||||
// @dart = 3.3
|
||||
|
||||
// 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
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package
|
||||
// ignore_for_file: implementation_imports, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
@@ -24,15 +26,15 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
|
||||
factory DoubleValue({
|
||||
$core.double? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
DoubleValue._() : super();
|
||||
factory DoubleValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory DoubleValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
DoubleValue._();
|
||||
|
||||
factory DoubleValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory DoubleValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DoubleValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.DoubleValueMixin.fromProto3JsonHelper)
|
||||
..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD)
|
||||
@@ -44,10 +46,12 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DoubleValue copyWith(void Function(DoubleValue) updates) => super.copyWith((message) => updates(message as DoubleValue)) as DoubleValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DoubleValue create() => DoubleValue._();
|
||||
@$core.override
|
||||
DoubleValue createEmptyInstance() => create();
|
||||
static $pb.PbList<DoubleValue> createRepeated() => $pb.PbList<DoubleValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -58,7 +62,7 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.double get value => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.double v) { $_setDouble(0, v); }
|
||||
set value($core.double value) => $_setDouble(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -72,15 +76,15 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
|
||||
factory FloatValue({
|
||||
$core.double? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
FloatValue._() : super();
|
||||
factory FloatValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory FloatValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
FloatValue._();
|
||||
|
||||
factory FloatValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory FloatValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FloatValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.FloatValueMixin.fromProto3JsonHelper)
|
||||
..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF)
|
||||
@@ -92,10 +96,12 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
FloatValue copyWith(void Function(FloatValue) updates) => super.copyWith((message) => updates(message as FloatValue)) as FloatValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static FloatValue create() => FloatValue._();
|
||||
@$core.override
|
||||
FloatValue createEmptyInstance() => create();
|
||||
static $pb.PbList<FloatValue> createRepeated() => $pb.PbList<FloatValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -106,7 +112,7 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.double get value => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.double v) { $_setFloat(0, v); }
|
||||
set value($core.double value) => $_setFloat(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -120,15 +126,15 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
|
||||
factory Int64Value({
|
||||
$fixnum.Int64? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
Int64Value._() : super();
|
||||
factory Int64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Int64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
Int64Value._();
|
||||
|
||||
factory Int64Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory Int64Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int64ValueMixin.fromProto3JsonHelper)
|
||||
..aInt64(1, _omitFieldNames ? '' : 'value')
|
||||
@@ -140,10 +146,12 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Int64Value copyWith(void Function(Int64Value) updates) => super.copyWith((message) => updates(message as Int64Value)) as Int64Value;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Int64Value create() => Int64Value._();
|
||||
@$core.override
|
||||
Int64Value createEmptyInstance() => create();
|
||||
static $pb.PbList<Int64Value> createRepeated() => $pb.PbList<Int64Value>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -154,7 +162,7 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$fixnum.Int64 get value => $_getI64(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($fixnum.Int64 v) { $_setInt64(0, v); }
|
||||
set value($fixnum.Int64 value) => $_setInt64(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -168,15 +176,15 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
|
||||
factory UInt64Value({
|
||||
$fixnum.Int64? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
UInt64Value._() : super();
|
||||
factory UInt64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory UInt64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
UInt64Value._();
|
||||
|
||||
factory UInt64Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory UInt64Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt64ValueMixin.fromProto3JsonHelper)
|
||||
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
@@ -188,10 +196,12 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UInt64Value copyWith(void Function(UInt64Value) updates) => super.copyWith((message) => updates(message as UInt64Value)) as UInt64Value;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UInt64Value create() => UInt64Value._();
|
||||
@$core.override
|
||||
UInt64Value createEmptyInstance() => create();
|
||||
static $pb.PbList<UInt64Value> createRepeated() => $pb.PbList<UInt64Value>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -202,7 +212,7 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$fixnum.Int64 get value => $_getI64(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($fixnum.Int64 v) { $_setInt64(0, v); }
|
||||
set value($fixnum.Int64 value) => $_setInt64(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -216,15 +226,15 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
|
||||
factory Int32Value({
|
||||
$core.int? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
Int32Value._() : super();
|
||||
factory Int32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Int32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
Int32Value._();
|
||||
|
||||
factory Int32Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory Int32Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int32ValueMixin.fromProto3JsonHelper)
|
||||
..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3)
|
||||
@@ -236,10 +246,12 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Int32Value copyWith(void Function(Int32Value) updates) => super.copyWith((message) => updates(message as Int32Value)) as Int32Value;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Int32Value create() => Int32Value._();
|
||||
@$core.override
|
||||
Int32Value createEmptyInstance() => create();
|
||||
static $pb.PbList<Int32Value> createRepeated() => $pb.PbList<Int32Value>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -250,7 +262,7 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.int get value => $_getIZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.int v) { $_setSignedInt32(0, v); }
|
||||
set value($core.int value) => $_setSignedInt32(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -264,15 +276,15 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
|
||||
factory UInt32Value({
|
||||
$core.int? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
UInt32Value._() : super();
|
||||
factory UInt32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory UInt32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
UInt32Value._();
|
||||
|
||||
factory UInt32Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory UInt32Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt32ValueMixin.fromProto3JsonHelper)
|
||||
..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3)
|
||||
@@ -284,10 +296,12 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UInt32Value copyWith(void Function(UInt32Value) updates) => super.copyWith((message) => updates(message as UInt32Value)) as UInt32Value;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UInt32Value create() => UInt32Value._();
|
||||
@$core.override
|
||||
UInt32Value createEmptyInstance() => create();
|
||||
static $pb.PbList<UInt32Value> createRepeated() => $pb.PbList<UInt32Value>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -298,7 +312,7 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.int get value => $_getIZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.int v) { $_setUnsignedInt32(0, v); }
|
||||
set value($core.int value) => $_setUnsignedInt32(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -312,15 +326,15 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
|
||||
factory BoolValue({
|
||||
$core.bool? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
BoolValue._() : super();
|
||||
factory BoolValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory BoolValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
BoolValue._();
|
||||
|
||||
factory BoolValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory BoolValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BoolValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BoolValueMixin.fromProto3JsonHelper)
|
||||
..aOB(1, _omitFieldNames ? '' : 'value')
|
||||
@@ -332,10 +346,12 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
BoolValue copyWith(void Function(BoolValue) updates) => super.copyWith((message) => updates(message as BoolValue)) as BoolValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static BoolValue create() => BoolValue._();
|
||||
@$core.override
|
||||
BoolValue createEmptyInstance() => create();
|
||||
static $pb.PbList<BoolValue> createRepeated() => $pb.PbList<BoolValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -346,7 +362,7 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool get value => $_getBF(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.bool v) { $_setBool(0, v); }
|
||||
set value($core.bool value) => $_setBool(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -360,15 +376,15 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
|
||||
factory StringValue({
|
||||
$core.String? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
StringValue._() : super();
|
||||
factory StringValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory StringValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
StringValue._();
|
||||
|
||||
factory StringValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory StringValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StringValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.StringValueMixin.fromProto3JsonHelper)
|
||||
..aOS(1, _omitFieldNames ? '' : 'value')
|
||||
@@ -380,10 +396,12 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
StringValue copyWith(void Function(StringValue) updates) => super.copyWith((message) => updates(message as StringValue)) as StringValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static StringValue create() => StringValue._();
|
||||
@$core.override
|
||||
StringValue createEmptyInstance() => create();
|
||||
static $pb.PbList<StringValue> createRepeated() => $pb.PbList<StringValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -394,7 +412,7 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get value => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.String v) { $_setString(0, v); }
|
||||
set value($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -408,15 +426,15 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
|
||||
factory BytesValue({
|
||||
$core.List<$core.int>? value,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (value != null) {
|
||||
$result.value = value;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
BytesValue._() : super();
|
||||
factory BytesValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory BytesValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
BytesValue._();
|
||||
|
||||
factory BytesValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory BytesValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BytesValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BytesValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BytesValueMixin.fromProto3JsonHelper)
|
||||
..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY)
|
||||
@@ -428,10 +446,12 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
BytesValue copyWith(void Function(BytesValue) updates) => super.copyWith((message) => updates(message as BytesValue)) as BytesValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static BytesValue create() => BytesValue._();
|
||||
@$core.override
|
||||
BytesValue createEmptyInstance() => create();
|
||||
static $pb.PbList<BytesValue> createRepeated() => $pb.PbList<BytesValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -442,7 +462,7 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
|
||||
@$pb.TagNumber(1)
|
||||
$core.List<$core.int> get value => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($core.List<$core.int> v) { $_setBytes(0, v); }
|
||||
set value($core.List<$core.int> value) => $_setBytes(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -450,5 +470,5 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
|
||||
}
|
||||
|
||||
|
||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
Reference in New Issue
Block a user