You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -258,15 +258,15 @@ class Slot extends $pb.GeneratedMessage {
|
||||
class Segmentation extends $pb.GeneratedMessage {
|
||||
factory Segmentation({
|
||||
$core.String? segmentationID,
|
||||
$core.Iterable<$3.LabelByLanguage>? segmentationLabel,
|
||||
$core.Iterable<$3.LabelByLanguage>? segmentationLabels,
|
||||
$core.Iterable<SegmentationValue>? values,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (segmentationID != null) {
|
||||
$result.segmentationID = segmentationID;
|
||||
}
|
||||
if (segmentationLabel != null) {
|
||||
$result.segmentationLabel.addAll(segmentationLabel);
|
||||
if (segmentationLabels != null) {
|
||||
$result.segmentationLabels.addAll(segmentationLabels);
|
||||
}
|
||||
if (values != null) {
|
||||
$result.values.addAll(values);
|
||||
@@ -279,7 +279,7 @@ class Segmentation extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Segmentation', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'SegmentationID', protoName: 'SegmentationID')
|
||||
..pc<$3.LabelByLanguage>(2, _omitFieldNames ? '' : 'SegmentationLabel', $pb.PbFieldType.PM, protoName: 'SegmentationLabel', subBuilder: $3.LabelByLanguage.create)
|
||||
..pc<$3.LabelByLanguage>(2, _omitFieldNames ? '' : 'SegmentationLabels', $pb.PbFieldType.PM, protoName: 'SegmentationLabels', subBuilder: $3.LabelByLanguage.create)
|
||||
..pc<SegmentationValue>(3, _omitFieldNames ? '' : 'Values', $pb.PbFieldType.PM, protoName: 'Values', subBuilder: SegmentationValue.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
@@ -311,7 +311,7 @@ class Segmentation extends $pb.GeneratedMessage {
|
||||
|
||||
/// Translated labels of the Segmentation
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$3.LabelByLanguage> get segmentationLabel => $_getList(1);
|
||||
$pb.PbList<$3.LabelByLanguage> get segmentationLabels => $_getList(1);
|
||||
|
||||
/// Possible values of the Segmentation
|
||||
@$pb.TagNumber(3)
|
||||
@@ -321,14 +321,14 @@ class Segmentation extends $pb.GeneratedMessage {
|
||||
class SegmentationValue extends $pb.GeneratedMessage {
|
||||
factory SegmentationValue({
|
||||
$core.String? iD,
|
||||
$core.Iterable<$3.LabelByLanguage>? label,
|
||||
$core.Iterable<$3.LabelByLanguage>? labels,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (iD != null) {
|
||||
$result.iD = iD;
|
||||
}
|
||||
if (label != null) {
|
||||
$result.label.addAll(label);
|
||||
if (labels != null) {
|
||||
$result.labels.addAll(labels);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
@@ -338,7 +338,7 @@ class SegmentationValue extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SegmentationValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
||||
..pc<$3.LabelByLanguage>(2, _omitFieldNames ? '' : 'Label', $pb.PbFieldType.PM, protoName: 'Label', subBuilder: $3.LabelByLanguage.create)
|
||||
..pc<$3.LabelByLanguage>(2, _omitFieldNames ? '' : 'Labels', $pb.PbFieldType.PM, protoName: 'Labels', subBuilder: $3.LabelByLanguage.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -369,7 +369,59 @@ class SegmentationValue extends $pb.GeneratedMessage {
|
||||
|
||||
/// Translated labels of the Segmentation value
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$3.LabelByLanguage> get label => $_getList(1);
|
||||
$pb.PbList<$3.LabelByLanguage> get labels => $_getList(1);
|
||||
}
|
||||
|
||||
class Instruction extends $pb.GeneratedMessage {
|
||||
factory Instruction({
|
||||
$core.bool? ackRequired,
|
||||
$core.Iterable<$3.LabelByLanguage>? instructions,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (ackRequired != null) {
|
||||
$result.ackRequired = ackRequired;
|
||||
}
|
||||
if (instructions != null) {
|
||||
$result.instructions.addAll(instructions);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
Instruction._() : super();
|
||||
factory Instruction.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Instruction.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Instruction', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOB(2, _omitFieldNames ? '' : 'AckRequired', protoName: 'AckRequired')
|
||||
..pc<$3.LabelByLanguage>(15, _omitFieldNames ? '' : 'Instructions', $pb.PbFieldType.PM, protoName: 'Instructions', subBuilder: $3.LabelByLanguage.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Instruction clone() => Instruction()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Instruction copyWith(void Function(Instruction) updates) => super.copyWith((message) => updates(message as Instruction)) as Instruction;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Instruction create() => Instruction._();
|
||||
Instruction createEmptyInstance() => create();
|
||||
static $pb.PbList<Instruction> createRepeated() => $pb.PbList<Instruction>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Instruction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Instruction>(create);
|
||||
static Instruction? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool get ackRequired => $_getBF(0);
|
||||
@$pb.TagNumber(2)
|
||||
set ackRequired($core.bool v) { $_setBool(0, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAckRequired() => $_has(0);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAckRequired() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$3.LabelByLanguage> get instructions => $_getList(1);
|
||||
}
|
||||
|
||||
/// OpeningRule
|
||||
|
||||
Reference in New Issue
Block a user