You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1454,10 +1454,12 @@ class EntityID extends $pb.GeneratedMessage {
|
||||
factory EntityID({
|
||||
$core.String? refID,
|
||||
DateTime? refDate,
|
||||
$core.Iterable<CustomField>? customFields,
|
||||
}) {
|
||||
final result = create();
|
||||
if (refID != null) result.refID = refID;
|
||||
if (refDate != null) result.refDate = refDate;
|
||||
if (customFields != null) result.customFields.addAll(customFields);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1469,6 +1471,7 @@ class EntityID extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EntityID', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'RefID', protoName: 'RefID')
|
||||
..aOM<DateTime>(3, _omitFieldNames ? '' : 'RefDate', protoName: 'RefDate', subBuilder: DateTime.create)
|
||||
..pc<CustomField>(4, _omitFieldNames ? '' : 'CustomFields', $pb.PbFieldType.PM, protoName: 'CustomFields', subBuilder: CustomField.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1510,15 +1513,78 @@ class EntityID extends $pb.GeneratedMessage {
|
||||
void clearRefDate() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
DateTime ensureRefDate() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<CustomField> get customFields => $_getList(2);
|
||||
}
|
||||
|
||||
class CustomField extends $pb.GeneratedMessage {
|
||||
factory CustomField({
|
||||
$core.String? key,
|
||||
$core.String? value,
|
||||
}) {
|
||||
final result = create();
|
||||
if (key != null) result.key = key;
|
||||
if (value != null) result.value = value;
|
||||
return result;
|
||||
}
|
||||
|
||||
CustomField._();
|
||||
|
||||
factory CustomField.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory CustomField.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CustomField', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'Key', protoName: 'Key')
|
||||
..aOS(2, _omitFieldNames ? '' : 'Value', protoName: 'Value')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CustomField clone() => CustomField()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CustomField copyWith(void Function(CustomField) updates) => super.copyWith((message) => updates(message as CustomField)) as CustomField;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CustomField create() => CustomField._();
|
||||
@$core.override
|
||||
CustomField createEmptyInstance() => create();
|
||||
static $pb.PbList<CustomField> createRepeated() => $pb.PbList<CustomField>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CustomField getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CustomField>(create);
|
||||
static CustomField? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get key => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set key($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasKey() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearKey() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get value => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set value($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasValue() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearValue() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// Specific Stock ID struct
|
||||
class StockID extends $pb.GeneratedMessage {
|
||||
factory StockID({
|
||||
DateTime? refDate,
|
||||
$core.Iterable<CustomField>? customFields,
|
||||
}) {
|
||||
final result = create();
|
||||
if (refDate != null) result.refDate = refDate;
|
||||
if (customFields != null) result.customFields.addAll(customFields);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1529,6 +1595,7 @@ class StockID extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockID', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<DateTime>(3, _omitFieldNames ? '' : 'RefDate', protoName: 'RefDate', subBuilder: DateTime.create)
|
||||
..pc<CustomField>(4, _omitFieldNames ? '' : 'CustomFields', $pb.PbFieldType.PM, protoName: 'CustomFields', subBuilder: CustomField.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1560,6 +1627,9 @@ class StockID extends $pb.GeneratedMessage {
|
||||
void clearRefDate() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
DateTime ensureRefDate() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<CustomField> get customFields => $_getList(1);
|
||||
}
|
||||
|
||||
/// Specific ID struct when No refid
|
||||
|
||||
@@ -810,6 +810,7 @@ const EntityID$json = {
|
||||
'2': [
|
||||
{'1': 'RefID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'RefID'},
|
||||
{'1': 'RefDate', '3': 3, '4': 1, '5': 11, '6': '.api.DateTime', '8': {}, '10': 'RefDate'},
|
||||
{'1': 'CustomFields', '3': 4, '4': 3, '5': 11, '6': '.api.CustomField', '8': {}, '10': 'CustomFields'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
@@ -820,20 +821,44 @@ final $typed_data.Uint8List entityIDDescriptor = $convert.base64Decode(
|
||||
'9iamVjdF9JRCL6QgdyBRABGMABUgVSZWZJRBKcAQoHUmVmRGF0ZRgDIAEoCzINLmFwaS5EYXRl'
|
||||
'VGltZUJzkkFwMm5Zb3VyIGVmZmVjdGl2ZSBkYXRlLiBJZiB5b3VyIGV2ZW50IHRyaWdnZXJzIG'
|
||||
'Egc3RhdHVzIGNoYW5nZSwgdGhpcyBkYXRlIHdpbGwgYmUgdXNlZCBpbnRvIHRoZSBzdGF0dXMg'
|
||||
'QWN0dWFsRGF0ZVIHUmVmRGF0ZToNkkEKCgjSAQVSZWZJRA==');
|
||||
'QWN0dWFsRGF0ZVIHUmVmRGF0ZRLyAQoMQ3VzdG9tRmllbGRzGAQgAygLMhAuYXBpLkN1c3RvbU'
|
||||
'ZpZWxkQrsBkkG3ATK0AUEgZnJlZS1mb3JtIGtleS92YWx1ZSBtYXAgcHJvdmlkZWQgYnkgdGhl'
|
||||
'IGNsaWVudC4gVGhlIEFQSSBzdG9yZXMgYW5kIHJldHVybnMgdGhlc2UgZmllbGRzIGFzLWlzLi'
|
||||
'BJbnRlbmRlZCBzb2xlbHkgZm9yIGNsaWVudCB1c2U7IHRoZSBBUEkgZG9lcyBub3QgaW50ZXJw'
|
||||
'cmV0IG9yIHZhbGlkYXRlIHRoZSBjb250ZW50LlIMQ3VzdG9tRmllbGRzOg2SQQoKCNIBBVJlZk'
|
||||
'lE');
|
||||
|
||||
@$core.Deprecated('Use customFieldDescriptor instead')
|
||||
const CustomField$json = {
|
||||
'1': 'CustomField',
|
||||
'2': [
|
||||
{'1': 'Key', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Key'},
|
||||
{'1': 'Value', '3': 2, '4': 1, '5': 9, '10': 'Value'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CustomField`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List customFieldDescriptor = $convert.base64Decode(
|
||||
'CgtDdXN0b21GaWVsZBIZCgNLZXkYASABKAlCB/pCBHICEAFSA0tleRIUCgVWYWx1ZRgCIAEoCV'
|
||||
'IFVmFsdWU=');
|
||||
|
||||
@$core.Deprecated('Use stockIDDescriptor instead')
|
||||
const StockID$json = {
|
||||
'1': 'StockID',
|
||||
'2': [
|
||||
{'1': 'RefDate', '3': 3, '4': 1, '5': 11, '6': '.api.DateTime', '8': {}, '10': 'RefDate'},
|
||||
{'1': 'CustomFields', '3': 4, '4': 3, '5': 11, '6': '.api.CustomField', '8': {}, '10': 'CustomFields'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `StockID`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List stockIDDescriptor = $convert.base64Decode(
|
||||
'CgdTdG9ja0lEEkEKB1JlZkRhdGUYAyABKAsyDS5hcGkuRGF0ZVRpbWVCGJJBFTITWW91ciBlZm'
|
||||
'ZlY3RpdmUgZGF0ZVIHUmVmRGF0ZQ==');
|
||||
'ZlY3RpdmUgZGF0ZVIHUmVmRGF0ZRLyAQoMQ3VzdG9tRmllbGRzGAQgAygLMhAuYXBpLkN1c3Rv'
|
||||
'bUZpZWxkQrsBkkG3ATK0AUEgZnJlZS1mb3JtIGtleS92YWx1ZSBtYXAgcHJvdmlkZWQgYnkgdG'
|
||||
'hlIGNsaWVudC4gVGhlIEFQSSBzdG9yZXMgYW5kIHJldHVybnMgdGhlc2UgZmllbGRzIGFzLWlz'
|
||||
'LiBJbnRlbmRlZCBzb2xlbHkgZm9yIGNsaWVudCB1c2U7IHRoZSBBUEkgZG9lcyBub3QgaW50ZX'
|
||||
'JwcmV0IG9yIHZhbGlkYXRlIHRoZSBjb250ZW50LlIMQ3VzdG9tRmllbGRz');
|
||||
|
||||
@$core.Deprecated('Use noIDDescriptor instead')
|
||||
const NoID$json = {
|
||||
|
||||
Reference in New Issue
Block a user