You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -17,7 +17,6 @@ import 'collabShared.pbenum.dart';
|
||||
import 'google/protobuf/struct.pb.dart' as $79;
|
||||
import 'shared.pb.dart' as $3;
|
||||
import 'shared.pbenum.dart' as $3;
|
||||
import 'slotbooking.pb.dart' as $70;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
@@ -694,75 +693,6 @@ class AppointmentStatusStruct extends $pb.GeneratedMessage {
|
||||
void clearVersion() => $_clearField(4);
|
||||
}
|
||||
|
||||
class Commission extends $pb.GeneratedMessage {
|
||||
factory Commission({
|
||||
$core.String? projectID,
|
||||
$core.String? orderID,
|
||||
$core.Iterable<$70.QuantityByUnit>? quantities,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (projectID != null) {
|
||||
$result.projectID = projectID;
|
||||
}
|
||||
if (orderID != null) {
|
||||
$result.orderID = orderID;
|
||||
}
|
||||
if (quantities != null) {
|
||||
$result.quantities.addAll(quantities);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
Commission._() : super();
|
||||
factory Commission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Commission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Commission', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
|
||||
..pc<$70.QuantityByUnit>(3, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $70.QuantityByUnit.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Commission clone() => Commission()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Commission copyWith(void Function(Commission) updates) => super.copyWith((message) => updates(message as Commission)) as Commission;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Commission create() => Commission._();
|
||||
Commission createEmptyInstance() => create();
|
||||
static $pb.PbList<Commission> createRepeated() => $pb.PbList<Commission>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Commission getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Commission>(create);
|
||||
static Commission? _defaultInstance;
|
||||
|
||||
/// Identifier for the project associated with the order
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get projectID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set projectID($core.String v) { $_setString(0, v); }
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasProjectID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
/// ID of the order, might be null for standalone
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get orderID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set orderID($core.String v) { $_setString(1, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasOrderID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearOrderID() => $_clearField(2);
|
||||
|
||||
/// Volumetry inside the truck, should have at least one item listed
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$70.QuantityByUnit> get quantities => $_getList(2);
|
||||
}
|
||||
|
||||
|
||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
Reference in New Issue
Block a user