Latest generation

This commit is contained in:
ci core model
2025-05-21 07:46:25 +00:00
parent 724e95a540
commit 9afcc847f4
4 changed files with 9 additions and 11 deletions

View File

@@ -76,7 +76,7 @@ class Unit extends $pb.GeneratedMessage {
class QuantityByUnit extends $pb.GeneratedMessage {
factory QuantityByUnit({
Unit? unitID,
$core.String? unitID,
$core.double? value,
}) {
final $result = create();
@@ -93,7 +93,7 @@ class QuantityByUnit extends $pb.GeneratedMessage {
factory QuantityByUnit.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuantityByUnit', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<Unit>(1, _omitFieldNames ? '' : 'UnitID', protoName: 'UnitID', subBuilder: Unit.create)
..aOS(1, _omitFieldNames ? '' : 'UnitID', protoName: 'UnitID')
..a<$core.double>(2, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OD, protoName: 'Value')
..hasRequiredFields = false
;
@@ -115,15 +115,13 @@ class QuantityByUnit extends $pb.GeneratedMessage {
/// referring to the Unit ID defined by the Site
@$pb.TagNumber(1)
Unit get unitID => $_getN(0);
$core.String get unitID => $_getSZ(0);
@$pb.TagNumber(1)
set unitID(Unit v) { $_setField(1, v); }
set unitID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasUnitID() => $_has(0);
@$pb.TagNumber(1)
void clearUnitID() => $_clearField(1);
@$pb.TagNumber(1)
Unit ensureUnitID() => $_ensure(0);
/// Number of the specified unit
@$pb.TagNumber(2)

View File

@@ -124,15 +124,15 @@ final $typed_data.Uint8List unitDescriptor = $convert.base64Decode(
const QuantityByUnit$json = {
'1': 'QuantityByUnit',
'2': [
{'1': 'UnitID', '3': 1, '4': 1, '5': 11, '6': '.api.Unit', '10': 'UnitID'},
{'1': 'UnitID', '3': 1, '4': 1, '5': 9, '10': 'UnitID'},
{'1': 'Value', '3': 2, '4': 1, '5': 1, '8': {}, '10': 'Value'},
],
};
/// Descriptor for `QuantityByUnit`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List quantityByUnitDescriptor = $convert.base64Decode(
'Cg5RdWFudGl0eUJ5VW5pdBIhCgZVbml0SUQYASABKAsyCS5hcGkuVW5pdFIGVW5pdElEEiQKBV'
'ZhbHVlGAIgASgBQg76QgsSCSkAAAAAAAAAAFIFVmFsdWU=');
'Cg5RdWFudGl0eUJ5VW5pdBIWCgZVbml0SUQYASABKAlSBlVuaXRJRBIkCgVWYWx1ZRgCIAEoAU'
'IO+kILEgkpAAAAAAAAAABSBVZhbHVl');
@$core.Deprecated('Use periodDescriptor instead')
const Period$json = {