diff --git a/crates/api/protos/nodes.proto b/crates/api/protos/nodes.proto index c6cc8c6d1..cfd447b1d 100644 --- a/crates/api/protos/nodes.proto +++ b/crates/api/protos/nodes.proto @@ -75,6 +75,7 @@ message Nodes { repeated NodeConnection channels = 2; // Flat list of all nodes repeated Node all_nodes = 3; + repeated NodeCommentArea comments = 4; } message AvailableNodes { @@ -357,3 +358,13 @@ message Port { ChannelProtocol protocol = 2; bool multiple = 3; } + +message NodeCommentArea { + double width = 1; + double height = 2; + NodeDesigner designer = 3; + optional string label = 4; + bool show_background = 5; + bool show_border = 6; + optional string parent = 7; +} diff --git a/crates/api/src/handlers/nodes.rs b/crates/api/src/handlers/nodes.rs index 130b8cd7c..8636bcecf 100644 --- a/crates/api/src/handlers/nodes.rs +++ b/crates/api/src/handlers/nodes.rs @@ -25,6 +25,8 @@ impl NodesHandler { let nodes = self.runtime.execute_query(ListNodesQuery).unwrap(); let links = self.runtime.execute_query(ListLinksQuery).unwrap(); + let comments = self.runtime.execute_query(ListCommentsQuery).unwrap(); + res.comments = comments.into_iter().map(Into::into).collect(); for node in nodes.iter() { let node: Node = node.clone().into(); diff --git a/crates/api/src/mappings/nodes.rs b/crates/api/src/mappings/nodes.rs index 25982cc1f..bf6ee007c 100644 --- a/crates/api/src/mappings/nodes.rs +++ b/crates/api/src/mappings/nodes.rs @@ -555,3 +555,17 @@ impl From for NodeCategory { } } } + +impl From for NodeCommentArea { + fn from(comment_area: mizer_node::NodeCommentArea) -> Self { + Self { + parent: comment_area.parent.map(|path| path.to_string()), + designer: comment_area.designer.into(), + width: comment_area.width, + height: comment_area.height, + label: comment_area.label, + show_background: comment_area.show_background, + show_border: comment_area.show_border, + } + } +} diff --git a/crates/projects/src/lib.rs b/crates/projects/src/lib.rs index 72e6d393c..db8b818f9 100644 --- a/crates/projects/src/lib.rs +++ b/crates/projects/src/lib.rs @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize}; use mizer_fixtures::fixture::FixtureConfiguration; use mizer_fixtures::programmer::Group; use mizer_layouts::ControlConfig; -use mizer_node::{NodeDesigner, NodePath, PortId}; +use mizer_node::{NodeCommentArea, NodeDesigner, NodePath, PortId}; use mizer_plan::Plan; use mizer_protocol_mqtt::MqttAddress; use mizer_protocol_osc::OscAddress; @@ -54,6 +54,8 @@ pub struct Project { #[serde(default)] pub channels: Vec, #[serde(default)] + pub comments: Vec, + #[serde(default)] pub media: Media, #[serde(default)] pub layouts: IndexMap>, diff --git a/crates/runtime/commander/executor/src/queries/mod.rs b/crates/runtime/commander/executor/src/queries/mod.rs index 700d1f420..747c6a5a8 100644 --- a/crates/runtime/commander/executor/src/queries/mod.rs +++ b/crates/runtime/commander/executor/src/queries/mod.rs @@ -69,6 +69,7 @@ query_impl! { GetNodeQuery, ListLinksQuery, ListAvailableNodesQuery, + ListCommentsQuery, } impl QueryImpl { diff --git a/crates/runtime/pipeline/node/src/comment_area.rs b/crates/runtime/pipeline/node/src/comment_area.rs new file mode 100644 index 000000000..c8f57e2a7 --- /dev/null +++ b/crates/runtime/pipeline/node/src/comment_area.rs @@ -0,0 +1,11 @@ +use crate::{NodeDesigner, NodePath}; + +pub struct NodeCommentArea { + pub parent: Option, + pub designer: NodeDesigner, + pub width: f64, + pub height: f64, + pub label: Option, + pub show_background: bool, + pub show_border: bool, +} diff --git a/crates/runtime/pipeline/node/src/lib.rs b/crates/runtime/pipeline/node/src/lib.rs index f01ec21c7..a909042bd 100644 --- a/crates/runtime/pipeline/node/src/lib.rs +++ b/crates/runtime/pipeline/node/src/lib.rs @@ -7,6 +7,7 @@ pub use mizer_debug_ui::DebugUiDrawHandle; pub use mizer_injector::Injector; pub use mizer_ports::{port_types, Color, PortId, PortType}; +pub use self::comment_area::*; pub use self::context::*; pub use self::introspection::*; pub use self::path::*; @@ -14,6 +15,7 @@ pub use self::ports::*; pub use self::preview::*; pub use self::settings::*; +mod comment_area; mod context; mod path; mod ports; diff --git a/crates/runtime/src/api.rs b/crates/runtime/src/api.rs index 70e73fd8d..cfbedc55f 100644 --- a/crates/runtime/src/api.rs +++ b/crates/runtime/src/api.rs @@ -5,6 +5,7 @@ use pinboard::NonEmptyPinboard; use mizer_clock::ClockSnapshot; use mizer_layouts::Layout; +use mizer_node::NodeCommentArea; use mizer_plan::Plan; use mizer_status_bus::StatusBus; diff --git a/crates/runtime/src/pipeline.rs b/crates/runtime/src/pipeline.rs index faca24081..f1e1c033e 100644 --- a/crates/runtime/src/pipeline.rs +++ b/crates/runtime/src/pipeline.rs @@ -4,10 +4,7 @@ use anyhow::Context; use indexmap::IndexMap; use mizer_clock::{BoxedClock, ClockFrame}; use mizer_debug_ui_impl::{Injector, NodeStateAccess}; -use mizer_node::{ - NodeDesigner, NodeLink, NodeMetadata, NodePath, NodeSetting, NodeType, PipelineNode, - PortDirection, PortMetadata, ProcessingNode, -}; +use mizer_node::{NodeCommentArea, NodeDesigner, NodeLink, NodeMetadata, NodePath, NodeSetting, NodeType, PipelineNode, PortDirection, PortMetadata, ProcessingNode}; use mizer_nodes::{ContainerNode, Node, NodeDowncast, NodeExt}; use mizer_pipeline::{NodePortReader, NodePreviewRef, PipelineWorker, ProcessingNodeExt}; use mizer_ports::PortId; @@ -24,6 +21,7 @@ use std::sync::Arc; pub struct Pipeline { nodes: IndexMap, links: Vec, + comments: Vec, worker: PipelineWorker, } @@ -40,6 +38,7 @@ impl Pipeline { Self { nodes: IndexMap::new(), links: Vec::new(), + comments: Vec::new(), worker: PipelineWorker::new(Arc::new(NonEmptyPinboard::new(Default::default()))), } } @@ -188,6 +187,10 @@ impl Pipeline { pub(crate) fn list_links(&self) -> impl Iterator { self.links.iter() } + + pub(crate) fn list_comments(&self) -> impl Iterator { + self.comments.iter() + } pub(crate) fn delete_link(&mut self, link: &NodeLink) { self.remove_links_if(|l| l == link); @@ -712,6 +715,8 @@ impl Pipeline { local: true, })?; } + self.comments = project.comments.clone(); + Ok(()) } @@ -737,11 +742,13 @@ impl Pipeline { } }) .collect(); + project.comments = self.comments.clone(); } pub fn clear(&mut self) { self.nodes.clear(); self.links.clear(); + self.comments.clear(); self.worker = PipelineWorker::new(Arc::new(NonEmptyPinboard::new(Default::default()))); } } diff --git a/crates/runtime/src/queries/list_comments.rs b/crates/runtime/src/queries/list_comments.rs new file mode 100644 index 000000000..dae579e33 --- /dev/null +++ b/crates/runtime/src/queries/list_comments.rs @@ -0,0 +1,24 @@ +use crate::commands::StaticNodeDescriptor; +use crate::Pipeline; +use mizer_commander::{Query, Ref}; +use serde::{Deserialize, Serialize}; +use mizer_node::NodeCommentArea; + +#[derive(Debug, Clone, Deserialize, Serialize)] +pub struct ListCommentsQuery; + +impl<'a> Query<'a> for ListCommentsQuery { + type Dependencies = Ref; + type Result = Vec; + + #[profiling::function] + fn query(&self, pipeline: &Pipeline) -> anyhow::Result { + let comments = pipeline.list_comments().cloned().collect(); + + Ok(comments) + } + + fn requires_main_loop(&self) -> bool { + true + } +} diff --git a/crates/runtime/src/queries/mod.rs b/crates/runtime/src/queries/mod.rs index 1e93f68b6..9c42d7b0b 100644 --- a/crates/runtime/src/queries/mod.rs +++ b/crates/runtime/src/queries/mod.rs @@ -2,8 +2,10 @@ pub use get_node::*; pub use list_available_nodes::*; pub use list_links::*; pub use list_nodes::*; +pub use list_comments::*; mod get_node; mod list_available_nodes; mod list_links; mod list_nodes; +mod list_comments; diff --git a/crates/ui/lib/protos/nodes.pb.dart b/crates/ui/lib/protos/nodes.pb.dart index be192a3a5..0253469a4 100644 --- a/crates/ui/lib/protos/nodes.pb.dart +++ b/crates/ui/lib/protos/nodes.pb.dart @@ -1,52 +1,57 @@ -/// +// // Generated code. Do not modify. // source: nodes.proto // // @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +// 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 import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import 'nodes.pbenum.dart'; import 'media.pbenum.dart' as $0; +import 'nodes.pbenum.dart'; export 'nodes.pbenum.dart'; class AddNodeRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AddNodeRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type') - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'position', subBuilder: NodePosition.create) - ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parent') - ..aOS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'template') - ..hasRequiredFields = false - ; - - AddNodeRequest._() : super(); factory AddNodeRequest({ $core.String? type, NodePosition? position, $core.String? parent, $core.String? template, }) { - final _result = create(); + final $result = create(); if (type != null) { - _result.type = type; + $result.type = type; } if (position != null) { - _result.position = position; + $result.position = position; } if (parent != null) { - _result.parent = parent; + $result.parent = parent; } if (template != null) { - _result.template = template; + $result.template = template; } - return _result; + return $result; } + AddNodeRequest._() : super(); factory AddNodeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AddNodeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddNodeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'type') + ..aOM(2, _omitFieldNames ? '' : 'position', subBuilder: NodePosition.create) + ..aOS(3, _omitFieldNames ? '' : 'parent') + ..aOS(4, _omitFieldNames ? '' : 'template') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -56,8 +61,10 @@ class AddNodeRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - AddNodeRequest copyWith(void Function(AddNodeRequest) updates) => super.copyWith((message) => updates(message as AddNodeRequest)) as AddNodeRequest; // ignore: deprecated_member_use + AddNodeRequest copyWith(void Function(AddNodeRequest) updates) => super.copyWith((message) => updates(message as AddNodeRequest)) as AddNodeRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static AddNodeRequest create() => AddNodeRequest._(); AddNodeRequest createEmptyInstance() => create(); @@ -106,28 +113,29 @@ class AddNodeRequest extends $pb.GeneratedMessage { } class DuplicateNodesRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DuplicateNodesRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'paths') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parent') - ..hasRequiredFields = false - ; - - DuplicateNodesRequest._() : super(); factory DuplicateNodesRequest({ $core.Iterable<$core.String>? paths, $core.String? parent, }) { - final _result = create(); + final $result = create(); if (paths != null) { - _result.paths.addAll(paths); + $result.paths.addAll(paths); } if (parent != null) { - _result.parent = parent; + $result.parent = parent; } - return _result; + return $result; } + DuplicateNodesRequest._() : super(); factory DuplicateNodesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DuplicateNodesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DuplicateNodesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'paths') + ..aOS(2, _omitFieldNames ? '' : 'parent') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -137,8 +145,10 @@ class DuplicateNodesRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - DuplicateNodesRequest copyWith(void Function(DuplicateNodesRequest) updates) => super.copyWith((message) => updates(message as DuplicateNodesRequest)) as DuplicateNodesRequest; // ignore: deprecated_member_use + DuplicateNodesRequest copyWith(void Function(DuplicateNodesRequest) updates) => super.copyWith((message) => updates(message as DuplicateNodesRequest)) as DuplicateNodesRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static DuplicateNodesRequest create() => DuplicateNodesRequest._(); DuplicateNodesRequest createEmptyInstance() => create(); @@ -161,28 +171,29 @@ class DuplicateNodesRequest extends $pb.GeneratedMessage { } class DisconnectPortRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DisconnectPortRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'port') - ..hasRequiredFields = false - ; - - DisconnectPortRequest._() : super(); factory DisconnectPortRequest({ $core.String? path, $core.String? port, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (port != null) { - _result.port = port; + $result.port = port; } - return _result; + return $result; } + DisconnectPortRequest._() : super(); factory DisconnectPortRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DisconnectPortRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisconnectPortRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOS(2, _omitFieldNames ? '' : 'port') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -192,8 +203,10 @@ class DisconnectPortRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - DisconnectPortRequest copyWith(void Function(DisconnectPortRequest) updates) => super.copyWith((message) => updates(message as DisconnectPortRequest)) as DisconnectPortRequest; // ignore: deprecated_member_use + DisconnectPortRequest copyWith(void Function(DisconnectPortRequest) updates) => super.copyWith((message) => updates(message as DisconnectPortRequest)) as DisconnectPortRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static DisconnectPortRequest create() => DisconnectPortRequest._(); DisconnectPortRequest createEmptyInstance() => create(); @@ -222,33 +235,34 @@ class DisconnectPortRequest extends $pb.GeneratedMessage { } class WriteControl extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'WriteControl', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'port') - ..a<$core.double>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - WriteControl._() : super(); factory WriteControl({ $core.String? path, $core.String? port, $core.double? value, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (port != null) { - _result.port = port; + $result.port = port; } if (value != null) { - _result.value = value; + $result.value = value; } - return _result; + return $result; } + WriteControl._() : super(); factory WriteControl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory WriteControl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WriteControl', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOS(2, _omitFieldNames ? '' : 'port') + ..a<$core.double>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -258,8 +272,10 @@ class WriteControl extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - WriteControl copyWith(void Function(WriteControl) updates) => super.copyWith((message) => updates(message as WriteControl)) as WriteControl; // ignore: deprecated_member_use + WriteControl copyWith(void Function(WriteControl) updates) => super.copyWith((message) => updates(message as WriteControl)) as WriteControl; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static WriteControl create() => WriteControl._(); WriteControl createEmptyInstance() => create(); @@ -297,28 +313,29 @@ class WriteControl extends $pb.GeneratedMessage { } class UpdateNodeSettingRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UpdateNodeSettingRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'setting', subBuilder: NodeSetting.create) - ..hasRequiredFields = false - ; - - UpdateNodeSettingRequest._() : super(); factory UpdateNodeSettingRequest({ $core.String? path, NodeSetting? setting, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (setting != null) { - _result.setting = setting; + $result.setting = setting; } - return _result; + return $result; } + UpdateNodeSettingRequest._() : super(); factory UpdateNodeSettingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateNodeSettingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateNodeSettingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOM(2, _omitFieldNames ? '' : 'setting', subBuilder: NodeSetting.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -328,8 +345,10 @@ class UpdateNodeSettingRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - UpdateNodeSettingRequest copyWith(void Function(UpdateNodeSettingRequest) updates) => super.copyWith((message) => updates(message as UpdateNodeSettingRequest)) as UpdateNodeSettingRequest; // ignore: deprecated_member_use + UpdateNodeSettingRequest copyWith(void Function(UpdateNodeSettingRequest) updates) => super.copyWith((message) => updates(message as UpdateNodeSettingRequest)) as UpdateNodeSettingRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static UpdateNodeSettingRequest create() => UpdateNodeSettingRequest._(); UpdateNodeSettingRequest createEmptyInstance() => create(); @@ -360,28 +379,29 @@ class UpdateNodeSettingRequest extends $pb.GeneratedMessage { } class UpdateNodeColorRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UpdateNodeColorRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..e(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'color', $pb.PbFieldType.OE, defaultOrMaker: NodeColor.NODE_COLOR_NONE, valueOf: NodeColor.valueOf, enumValues: NodeColor.values) - ..hasRequiredFields = false - ; - - UpdateNodeColorRequest._() : super(); factory UpdateNodeColorRequest({ $core.String? path, NodeColor? color, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (color != null) { - _result.color = color; + $result.color = color; } - return _result; + return $result; } + UpdateNodeColorRequest._() : super(); factory UpdateNodeColorRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateNodeColorRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateNodeColorRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..e(2, _omitFieldNames ? '' : 'color', $pb.PbFieldType.OE, defaultOrMaker: NodeColor.NODE_COLOR_NONE, valueOf: NodeColor.valueOf, enumValues: NodeColor.values) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -391,8 +411,10 @@ class UpdateNodeColorRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - UpdateNodeColorRequest copyWith(void Function(UpdateNodeColorRequest) updates) => super.copyWith((message) => updates(message as UpdateNodeColorRequest)) as UpdateNodeColorRequest; // ignore: deprecated_member_use + UpdateNodeColorRequest copyWith(void Function(UpdateNodeColorRequest) updates) => super.copyWith((message) => updates(message as UpdateNodeColorRequest)) as UpdateNodeColorRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static UpdateNodeColorRequest create() => UpdateNodeColorRequest._(); UpdateNodeColorRequest createEmptyInstance() => create(); @@ -421,23 +443,24 @@ class UpdateNodeColorRequest extends $pb.GeneratedMessage { } class MoveNodesRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MoveNodesRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nodes', $pb.PbFieldType.PM, subBuilder: MoveNodeRequest.create) - ..hasRequiredFields = false - ; - - MoveNodesRequest._() : super(); factory MoveNodesRequest({ $core.Iterable? nodes, }) { - final _result = create(); + final $result = create(); if (nodes != null) { - _result.nodes.addAll(nodes); + $result.nodes.addAll(nodes); } - return _result; + return $result; } + MoveNodesRequest._() : super(); factory MoveNodesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MoveNodesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveNodesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'nodes', $pb.PbFieldType.PM, subBuilder: MoveNodeRequest.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -447,8 +470,10 @@ class MoveNodesRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - MoveNodesRequest copyWith(void Function(MoveNodesRequest) updates) => super.copyWith((message) => updates(message as MoveNodesRequest)) as MoveNodesRequest; // ignore: deprecated_member_use + MoveNodesRequest copyWith(void Function(MoveNodesRequest) updates) => super.copyWith((message) => updates(message as MoveNodesRequest)) as MoveNodesRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static MoveNodesRequest create() => MoveNodesRequest._(); MoveNodesRequest createEmptyInstance() => create(); @@ -462,28 +487,29 @@ class MoveNodesRequest extends $pb.GeneratedMessage { } class MoveNodeRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MoveNodeRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'position', subBuilder: NodePosition.create) - ..hasRequiredFields = false - ; - - MoveNodeRequest._() : super(); factory MoveNodeRequest({ $core.String? path, NodePosition? position, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (position != null) { - _result.position = position; + $result.position = position; } - return _result; + return $result; } + MoveNodeRequest._() : super(); factory MoveNodeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MoveNodeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveNodeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOM(2, _omitFieldNames ? '' : 'position', subBuilder: NodePosition.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -493,8 +519,10 @@ class MoveNodeRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - MoveNodeRequest copyWith(void Function(MoveNodeRequest) updates) => super.copyWith((message) => updates(message as MoveNodeRequest)) as MoveNodeRequest; // ignore: deprecated_member_use + MoveNodeRequest copyWith(void Function(MoveNodeRequest) updates) => super.copyWith((message) => updates(message as MoveNodeRequest)) as MoveNodeRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static MoveNodeRequest create() => MoveNodeRequest._(); MoveNodeRequest createEmptyInstance() => create(); @@ -525,33 +553,34 @@ class MoveNodeRequest extends $pb.GeneratedMessage { } class ShowNodeRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ShowNodeRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'position', subBuilder: NodePosition.create) - ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parent') - ..hasRequiredFields = false - ; - - ShowNodeRequest._() : super(); factory ShowNodeRequest({ $core.String? path, NodePosition? position, $core.String? parent, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (position != null) { - _result.position = position; + $result.position = position; } if (parent != null) { - _result.parent = parent; + $result.parent = parent; } - return _result; + return $result; } + ShowNodeRequest._() : super(); factory ShowNodeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ShowNodeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShowNodeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOM(2, _omitFieldNames ? '' : 'position', subBuilder: NodePosition.create) + ..aOS(3, _omitFieldNames ? '' : 'parent') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -561,8 +590,10 @@ class ShowNodeRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - ShowNodeRequest copyWith(void Function(ShowNodeRequest) updates) => super.copyWith((message) => updates(message as ShowNodeRequest)) as ShowNodeRequest; // ignore: deprecated_member_use + ShowNodeRequest copyWith(void Function(ShowNodeRequest) updates) => super.copyWith((message) => updates(message as ShowNodeRequest)) as ShowNodeRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static ShowNodeRequest create() => ShowNodeRequest._(); ShowNodeRequest createEmptyInstance() => create(); @@ -602,28 +633,29 @@ class ShowNodeRequest extends $pb.GeneratedMessage { } class RenameNodeRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RenameNodeRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'newName') - ..hasRequiredFields = false - ; - - RenameNodeRequest._() : super(); factory RenameNodeRequest({ $core.String? path, $core.String? newName, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } if (newName != null) { - _result.newName = newName; + $result.newName = newName; } - return _result; + return $result; } + RenameNodeRequest._() : super(); factory RenameNodeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RenameNodeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenameNodeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOS(2, _omitFieldNames ? '' : 'newName') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -633,8 +665,10 @@ class RenameNodeRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - RenameNodeRequest copyWith(void Function(RenameNodeRequest) updates) => super.copyWith((message) => updates(message as RenameNodeRequest)) as RenameNodeRequest; // ignore: deprecated_member_use + RenameNodeRequest copyWith(void Function(RenameNodeRequest) updates) => super.copyWith((message) => updates(message as RenameNodeRequest)) as RenameNodeRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static RenameNodeRequest create() => RenameNodeRequest._(); RenameNodeRequest createEmptyInstance() => create(); @@ -663,28 +697,29 @@ class RenameNodeRequest extends $pb.GeneratedMessage { } class GroupNodesRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GroupNodesRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nodes') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parent') - ..hasRequiredFields = false - ; - - GroupNodesRequest._() : super(); factory GroupNodesRequest({ $core.Iterable<$core.String>? nodes, $core.String? parent, }) { - final _result = create(); + final $result = create(); if (nodes != null) { - _result.nodes.addAll(nodes); + $result.nodes.addAll(nodes); } if (parent != null) { - _result.parent = parent; + $result.parent = parent; } - return _result; + return $result; } + GroupNodesRequest._() : super(); factory GroupNodesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GroupNodesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GroupNodesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'nodes') + ..aOS(2, _omitFieldNames ? '' : 'parent') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -694,8 +729,10 @@ class GroupNodesRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - GroupNodesRequest copyWith(void Function(GroupNodesRequest) updates) => super.copyWith((message) => updates(message as GroupNodesRequest)) as GroupNodesRequest; // ignore: deprecated_member_use + GroupNodesRequest copyWith(void Function(GroupNodesRequest) updates) => super.copyWith((message) => updates(message as GroupNodesRequest)) as GroupNodesRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static GroupNodesRequest create() => GroupNodesRequest._(); GroupNodesRequest createEmptyInstance() => create(); @@ -718,23 +755,24 @@ class GroupNodesRequest extends $pb.GeneratedMessage { } class DeleteNodeRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DeleteNodeRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..hasRequiredFields = false - ; - - DeleteNodeRequest._() : super(); factory DeleteNodeRequest({ $core.String? path, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } - return _result; + return $result; } + DeleteNodeRequest._() : super(); factory DeleteNodeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteNodeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteNodeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -744,8 +782,10 @@ class DeleteNodeRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - DeleteNodeRequest copyWith(void Function(DeleteNodeRequest) updates) => super.copyWith((message) => updates(message as DeleteNodeRequest)) as DeleteNodeRequest; // ignore: deprecated_member_use + DeleteNodeRequest copyWith(void Function(DeleteNodeRequest) updates) => super.copyWith((message) => updates(message as DeleteNodeRequest)) as DeleteNodeRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static DeleteNodeRequest create() => DeleteNodeRequest._(); DeleteNodeRequest createEmptyInstance() => create(); @@ -765,23 +805,24 @@ class DeleteNodeRequest extends $pb.GeneratedMessage { } class HideNodeRequest extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'HideNodeRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..hasRequiredFields = false - ; - - HideNodeRequest._() : super(); factory HideNodeRequest({ $core.String? path, }) { - final _result = create(); + final $result = create(); if (path != null) { - _result.path = path; + $result.path = path; } - return _result; + return $result; } + HideNodeRequest._() : super(); factory HideNodeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory HideNodeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HideNodeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -791,8 +832,10 @@ class HideNodeRequest extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - HideNodeRequest copyWith(void Function(HideNodeRequest) updates) => super.copyWith((message) => updates(message as HideNodeRequest)) as HideNodeRequest; // ignore: deprecated_member_use + HideNodeRequest copyWith(void Function(HideNodeRequest) updates) => super.copyWith((message) => updates(message as HideNodeRequest)) as HideNodeRequest; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static HideNodeRequest create() => HideNodeRequest._(); HideNodeRequest createEmptyInstance() => create(); @@ -812,33 +855,39 @@ class HideNodeRequest extends $pb.GeneratedMessage { } class Nodes extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Nodes', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nodes', $pb.PbFieldType.PM, subBuilder: Node.create) - ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'channels', $pb.PbFieldType.PM, subBuilder: NodeConnection.create) - ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'allNodes', $pb.PbFieldType.PM, subBuilder: Node.create) - ..hasRequiredFields = false - ; - - Nodes._() : super(); factory Nodes({ $core.Iterable? nodes, $core.Iterable? channels, $core.Iterable? allNodes, + $core.Iterable? comments, }) { - final _result = create(); + final $result = create(); if (nodes != null) { - _result.nodes.addAll(nodes); + $result.nodes.addAll(nodes); } if (channels != null) { - _result.channels.addAll(channels); + $result.channels.addAll(channels); } if (allNodes != null) { - _result.allNodes.addAll(allNodes); + $result.allNodes.addAll(allNodes); + } + if (comments != null) { + $result.comments.addAll(comments); } - return _result; + return $result; } + Nodes._() : super(); factory Nodes.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Nodes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Nodes', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'nodes', $pb.PbFieldType.PM, subBuilder: Node.create) + ..pc(2, _omitFieldNames ? '' : 'channels', $pb.PbFieldType.PM, subBuilder: NodeConnection.create) + ..pc(3, _omitFieldNames ? '' : 'allNodes', $pb.PbFieldType.PM, subBuilder: Node.create) + ..pc(4, _omitFieldNames ? '' : 'comments', $pb.PbFieldType.PM, subBuilder: NodeCommentArea.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -848,8 +897,10 @@ class Nodes extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - Nodes copyWith(void Function(Nodes) updates) => super.copyWith((message) => updates(message as Nodes)) as Nodes; // ignore: deprecated_member_use + Nodes copyWith(void Function(Nodes) updates) => super.copyWith((message) => updates(message as Nodes)) as Nodes; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static Nodes create() => Nodes._(); Nodes createEmptyInstance() => create(); @@ -864,28 +915,33 @@ class Nodes extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List get channels => $_getList(1); + /// Flat list of all nodes @$pb.TagNumber(3) $core.List get allNodes => $_getList(2); + + @$pb.TagNumber(4) + $core.List get comments => $_getList(3); } class AvailableNodes extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AvailableNodes', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nodes', $pb.PbFieldType.PM, subBuilder: AvailableNode.create) - ..hasRequiredFields = false - ; - - AvailableNodes._() : super(); factory AvailableNodes({ $core.Iterable? nodes, }) { - final _result = create(); + final $result = create(); if (nodes != null) { - _result.nodes.addAll(nodes); + $result.nodes.addAll(nodes); } - return _result; + return $result; } + AvailableNodes._() : super(); factory AvailableNodes.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AvailableNodes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AvailableNodes', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'nodes', $pb.PbFieldType.PM, subBuilder: AvailableNode.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -895,8 +951,10 @@ class AvailableNodes extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - AvailableNodes copyWith(void Function(AvailableNodes) updates) => super.copyWith((message) => updates(message as AvailableNodes)) as AvailableNodes; // ignore: deprecated_member_use + AvailableNodes copyWith(void Function(AvailableNodes) updates) => super.copyWith((message) => updates(message as AvailableNodes)) as AvailableNodes; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static AvailableNodes create() => AvailableNodes._(); AvailableNodes createEmptyInstance() => create(); @@ -910,17 +968,6 @@ class AvailableNodes extends $pb.GeneratedMessage { } class AvailableNode extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AvailableNode', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name') - ..e(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'category', $pb.PbFieldType.OE, defaultOrMaker: NodeCategory.NODE_CATEGORY_NONE, valueOf: NodeCategory.valueOf, enumValues: NodeCategory.values) - ..aOS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'description') - ..pc(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'settings', $pb.PbFieldType.PM, subBuilder: NodeSettingDescription.create) - ..pc(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'templates', $pb.PbFieldType.PM, subBuilder: NodeTemplate.create) - ..hasRequiredFields = false - ; - - AvailableNode._() : super(); factory AvailableNode({ $core.String? type, $core.String? name, @@ -929,29 +976,41 @@ class AvailableNode extends $pb.GeneratedMessage { $core.Iterable? settings, $core.Iterable? templates, }) { - final _result = create(); + final $result = create(); if (type != null) { - _result.type = type; + $result.type = type; } if (name != null) { - _result.name = name; + $result.name = name; } if (category != null) { - _result.category = category; + $result.category = category; } if (description != null) { - _result.description = description; + $result.description = description; } if (settings != null) { - _result.settings.addAll(settings); + $result.settings.addAll(settings); } if (templates != null) { - _result.templates.addAll(templates); + $result.templates.addAll(templates); } - return _result; + return $result; } + AvailableNode._() : super(); factory AvailableNode.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AvailableNode.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AvailableNode', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'type') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..e(3, _omitFieldNames ? '' : 'category', $pb.PbFieldType.OE, defaultOrMaker: NodeCategory.NODE_CATEGORY_NONE, valueOf: NodeCategory.valueOf, enumValues: NodeCategory.values) + ..aOS(4, _omitFieldNames ? '' : 'description') + ..pc(5, _omitFieldNames ? '' : 'settings', $pb.PbFieldType.PM, subBuilder: NodeSettingDescription.create) + ..pc(6, _omitFieldNames ? '' : 'templates', $pb.PbFieldType.PM, subBuilder: NodeTemplate.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -961,8 +1020,10 @@ class AvailableNode extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - AvailableNode copyWith(void Function(AvailableNode) updates) => super.copyWith((message) => updates(message as AvailableNode)) as AvailableNode; // ignore: deprecated_member_use + AvailableNode copyWith(void Function(AvailableNode) updates) => super.copyWith((message) => updates(message as AvailableNode)) as AvailableNode; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static AvailableNode create() => AvailableNode._(); AvailableNode createEmptyInstance() => create(); @@ -1015,28 +1076,29 @@ class AvailableNode extends $pb.GeneratedMessage { } class NodeSettingDescription extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSettingDescription', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'description') - ..hasRequiredFields = false - ; - - NodeSettingDescription._() : super(); factory NodeSettingDescription({ $core.String? name, $core.String? description, }) { - final _result = create(); + final $result = create(); if (name != null) { - _result.name = name; + $result.name = name; } if (description != null) { - _result.description = description; + $result.description = description; } - return _result; + return $result; } + NodeSettingDescription._() : super(); factory NodeSettingDescription.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSettingDescription.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSettingDescription', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'description') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1046,8 +1108,10 @@ class NodeSettingDescription extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSettingDescription copyWith(void Function(NodeSettingDescription) updates) => super.copyWith((message) => updates(message as NodeSettingDescription)) as NodeSettingDescription; // ignore: deprecated_member_use + NodeSettingDescription copyWith(void Function(NodeSettingDescription) updates) => super.copyWith((message) => updates(message as NodeSettingDescription)) as NodeSettingDescription; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSettingDescription create() => NodeSettingDescription._(); NodeSettingDescription createEmptyInstance() => create(); @@ -1076,28 +1140,29 @@ class NodeSettingDescription extends $pb.GeneratedMessage { } class NodeTemplate extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeTemplate', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name') - ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'description') - ..hasRequiredFields = false - ; - - NodeTemplate._() : super(); factory NodeTemplate({ $core.String? name, $core.String? description, }) { - final _result = create(); + final $result = create(); if (name != null) { - _result.name = name; + $result.name = name; } if (description != null) { - _result.description = description; + $result.description = description; } - return _result; + return $result; } + NodeTemplate._() : super(); factory NodeTemplate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeTemplate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'description') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1107,8 +1172,10 @@ class NodeTemplate extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeTemplate copyWith(void Function(NodeTemplate) updates) => super.copyWith((message) => updates(message as NodeTemplate)) as NodeTemplate; // ignore: deprecated_member_use + NodeTemplate copyWith(void Function(NodeTemplate) updates) => super.copyWith((message) => updates(message as NodeTemplate)) as NodeTemplate; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeTemplate create() => NodeTemplate._(); NodeTemplate createEmptyInstance() => create(); @@ -1137,16 +1204,6 @@ class NodeTemplate extends $pb.GeneratedMessage { } class NodeConnection extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeConnection', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'targetNode') - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'targetPort', subBuilder: Port.create) - ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sourceNode') - ..aOM(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sourcePort', subBuilder: Port.create) - ..e(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'protocol', $pb.PbFieldType.OE, defaultOrMaker: ChannelProtocol.SINGLE, valueOf: ChannelProtocol.valueOf, enumValues: ChannelProtocol.values) - ..hasRequiredFields = false - ; - - NodeConnection._() : super(); factory NodeConnection({ $core.String? targetNode, Port? targetPort, @@ -1154,26 +1211,37 @@ class NodeConnection extends $pb.GeneratedMessage { Port? sourcePort, ChannelProtocol? protocol, }) { - final _result = create(); + final $result = create(); if (targetNode != null) { - _result.targetNode = targetNode; + $result.targetNode = targetNode; } if (targetPort != null) { - _result.targetPort = targetPort; + $result.targetPort = targetPort; } if (sourceNode != null) { - _result.sourceNode = sourceNode; + $result.sourceNode = sourceNode; } if (sourcePort != null) { - _result.sourcePort = sourcePort; + $result.sourcePort = sourcePort; } if (protocol != null) { - _result.protocol = protocol; + $result.protocol = protocol; } - return _result; + return $result; } + NodeConnection._() : super(); factory NodeConnection.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeConnection.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeConnection', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'targetNode') + ..aOM(2, _omitFieldNames ? '' : 'targetPort', subBuilder: Port.create) + ..aOS(3, _omitFieldNames ? '' : 'sourceNode') + ..aOM(4, _omitFieldNames ? '' : 'sourcePort', subBuilder: Port.create) + ..e(5, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.OE, defaultOrMaker: ChannelProtocol.SINGLE, valueOf: ChannelProtocol.valueOf, enumValues: ChannelProtocol.values) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1183,8 +1251,10 @@ class NodeConnection extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeConnection copyWith(void Function(NodeConnection) updates) => super.copyWith((message) => updates(message as NodeConnection)) as NodeConnection; // ignore: deprecated_member_use + NodeConnection copyWith(void Function(NodeConnection) updates) => super.copyWith((message) => updates(message as NodeConnection)) as NodeConnection; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeConnection create() => NodeConnection._(); NodeConnection createEmptyInstance() => create(); @@ -1244,20 +1314,6 @@ class NodeConnection extends $pb.GeneratedMessage { } class Node extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Node', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path') - ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'inputs', $pb.PbFieldType.PM, subBuilder: Port.create) - ..pc(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outputs', $pb.PbFieldType.PM, subBuilder: Port.create) - ..aOM(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'designer', subBuilder: NodeDesigner.create) - ..e(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'preview', $pb.PbFieldType.OE, defaultOrMaker: Node_NodePreviewType.NONE, valueOf: Node_NodePreviewType.valueOf, enumValues: Node_NodePreviewType.values) - ..pc(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'settings', $pb.PbFieldType.PM, subBuilder: NodeSetting.create) - ..aOM(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'details', subBuilder: NodeDetails.create) - ..pc(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'children', $pb.PbFieldType.PM, subBuilder: Node.create) - ..hasRequiredFields = false - ; - - Node._() : super(); factory Node({ $core.String? type, $core.String? path, @@ -1269,38 +1325,53 @@ class Node extends $pb.GeneratedMessage { NodeDetails? details, $core.Iterable? children, }) { - final _result = create(); + final $result = create(); if (type != null) { - _result.type = type; + $result.type = type; } if (path != null) { - _result.path = path; + $result.path = path; } if (inputs != null) { - _result.inputs.addAll(inputs); + $result.inputs.addAll(inputs); } if (outputs != null) { - _result.outputs.addAll(outputs); + $result.outputs.addAll(outputs); } if (designer != null) { - _result.designer = designer; + $result.designer = designer; } if (preview != null) { - _result.preview = preview; + $result.preview = preview; } if (settings != null) { - _result.settings.addAll(settings); + $result.settings.addAll(settings); } if (details != null) { - _result.details = details; + $result.details = details; } if (children != null) { - _result.children.addAll(children); + $result.children.addAll(children); } - return _result; + return $result; } + Node._() : super(); factory Node.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Node.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Node', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'type') + ..aOS(2, _omitFieldNames ? '' : 'path') + ..pc(3, _omitFieldNames ? '' : 'inputs', $pb.PbFieldType.PM, subBuilder: Port.create) + ..pc(4, _omitFieldNames ? '' : 'outputs', $pb.PbFieldType.PM, subBuilder: Port.create) + ..aOM(5, _omitFieldNames ? '' : 'designer', subBuilder: NodeDesigner.create) + ..e(6, _omitFieldNames ? '' : 'preview', $pb.PbFieldType.OE, defaultOrMaker: Node_NodePreviewType.NONE, valueOf: Node_NodePreviewType.valueOf, enumValues: Node_NodePreviewType.values) + ..pc(7, _omitFieldNames ? '' : 'settings', $pb.PbFieldType.PM, subBuilder: NodeSetting.create) + ..aOM(8, _omitFieldNames ? '' : 'details', subBuilder: NodeDetails.create) + ..pc(9, _omitFieldNames ? '' : 'children', $pb.PbFieldType.PM, subBuilder: Node.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1310,8 +1381,10 @@ class Node extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - Node copyWith(void Function(Node) updates) => super.copyWith((message) => updates(message as Node)) as Node; // ignore: deprecated_member_use + Node copyWith(void Function(Node) updates) => super.copyWith((message) => updates(message as Node)) as Node; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static Node create() => Node._(); Node createEmptyInstance() => create(); @@ -1383,38 +1456,39 @@ class Node extends $pb.GeneratedMessage { } class NodeDetails extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeDetails', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nodeTypeName') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'displayName') - ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hasCustomName') - ..e(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'category', $pb.PbFieldType.OE, defaultOrMaker: NodeCategory.NODE_CATEGORY_NONE, valueOf: NodeCategory.valueOf, enumValues: NodeCategory.values) - ..hasRequiredFields = false - ; - - NodeDetails._() : super(); factory NodeDetails({ $core.String? nodeTypeName, $core.String? displayName, $core.bool? hasCustomName, NodeCategory? category, }) { - final _result = create(); + final $result = create(); if (nodeTypeName != null) { - _result.nodeTypeName = nodeTypeName; + $result.nodeTypeName = nodeTypeName; } if (displayName != null) { - _result.displayName = displayName; + $result.displayName = displayName; } if (hasCustomName != null) { - _result.hasCustomName = hasCustomName; + $result.hasCustomName = hasCustomName; } if (category != null) { - _result.category = category; + $result.category = category; } - return _result; + return $result; } + NodeDetails._() : super(); factory NodeDetails.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeDetails.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeDetails', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'nodeTypeName') + ..aOS(2, _omitFieldNames ? '' : 'displayName') + ..aOB(3, _omitFieldNames ? '' : 'hasCustomName') + ..e(4, _omitFieldNames ? '' : 'category', $pb.PbFieldType.OE, defaultOrMaker: NodeCategory.NODE_CATEGORY_NONE, valueOf: NodeCategory.valueOf, enumValues: NodeCategory.values) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1424,8 +1498,10 @@ class NodeDetails extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeDetails copyWith(void Function(NodeDetails) updates) => super.copyWith((message) => updates(message as NodeDetails)) as NodeDetails; // ignore: deprecated_member_use + NodeDetails copyWith(void Function(NodeDetails) updates) => super.copyWith((message) => updates(message as NodeDetails)) as NodeDetails; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeDetails create() => NodeDetails._(); NodeDetails createEmptyInstance() => create(); @@ -1472,28 +1548,29 @@ class NodeDetails extends $pb.GeneratedMessage { } class NodeSetting_TextValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.TextValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value') - ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'multiline') - ..hasRequiredFields = false - ; - - NodeSetting_TextValue._() : super(); factory NodeSetting_TextValue({ $core.String? value, $core.bool? multiline, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (multiline != null) { - _result.multiline = multiline; + $result.multiline = multiline; } - return _result; + return $result; } + NodeSetting_TextValue._() : super(); factory NodeSetting_TextValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_TextValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.TextValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'value') + ..aOB(2, _omitFieldNames ? '' : 'multiline') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1503,8 +1580,10 @@ class NodeSetting_TextValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_TextValue copyWith(void Function(NodeSetting_TextValue) updates) => super.copyWith((message) => updates(message as NodeSetting_TextValue)) as NodeSetting_TextValue; // ignore: deprecated_member_use + NodeSetting_TextValue copyWith(void Function(NodeSetting_TextValue) updates) => super.copyWith((message) => updates(message as NodeSetting_TextValue)) as NodeSetting_TextValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_TextValue create() => NodeSetting_TextValue._(); NodeSetting_TextValue createEmptyInstance() => create(); @@ -1533,17 +1612,6 @@ class NodeSetting_TextValue extends $pb.GeneratedMessage { } class NodeSetting_FloatValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.FloatValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.double>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OD) - ..a<$core.double>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'min', $pb.PbFieldType.OD) - ..a<$core.double>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'minHint', $pb.PbFieldType.OD) - ..a<$core.double>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'max', $pb.PbFieldType.OD) - ..a<$core.double>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'maxHint', $pb.PbFieldType.OD) - ..a<$core.double>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stepSize', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - NodeSetting_FloatValue._() : super(); factory NodeSetting_FloatValue({ $core.double? value, $core.double? min, @@ -1552,31 +1620,43 @@ class NodeSetting_FloatValue extends $pb.GeneratedMessage { $core.double? maxHint, $core.double? stepSize, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (min != null) { - _result.min = min; + $result.min = min; } if (minHint != null) { - _result.minHint = minHint; + $result.minHint = minHint; } if (max != null) { - _result.max = max; + $result.max = max; } if (maxHint != null) { - _result.maxHint = maxHint; + $result.maxHint = maxHint; } if (stepSize != null) { - _result.stepSize = stepSize; + $result.stepSize = stepSize; } - return _result; + return $result; } + NodeSetting_FloatValue._() : super(); factory NodeSetting_FloatValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_FloatValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.FloatValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) + ..a<$core.double>(2, _omitFieldNames ? '' : 'min', $pb.PbFieldType.OD) + ..a<$core.double>(3, _omitFieldNames ? '' : 'minHint', $pb.PbFieldType.OD) + ..a<$core.double>(4, _omitFieldNames ? '' : 'max', $pb.PbFieldType.OD) + ..a<$core.double>(5, _omitFieldNames ? '' : 'maxHint', $pb.PbFieldType.OD) + ..a<$core.double>(6, _omitFieldNames ? '' : 'stepSize', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') NodeSetting_FloatValue clone() => NodeSetting_FloatValue()..mergeFromMessage(this); @@ -1584,8 +1664,10 @@ class NodeSetting_FloatValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_FloatValue copyWith(void Function(NodeSetting_FloatValue) updates) => super.copyWith((message) => updates(message as NodeSetting_FloatValue)) as NodeSetting_FloatValue; // ignore: deprecated_member_use + NodeSetting_FloatValue copyWith(void Function(NodeSetting_FloatValue) updates) => super.copyWith((message) => updates(message as NodeSetting_FloatValue)) as NodeSetting_FloatValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_FloatValue create() => NodeSetting_FloatValue._(); NodeSetting_FloatValue createEmptyInstance() => create(); @@ -1650,17 +1732,6 @@ class NodeSetting_FloatValue extends $pb.GeneratedMessage { } class NodeSetting_IntValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.IntValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.O3) - ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'min', $pb.PbFieldType.O3) - ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'minHint', $pb.PbFieldType.O3) - ..a<$core.int>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'max', $pb.PbFieldType.O3) - ..a<$core.int>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'maxHint', $pb.PbFieldType.O3) - ..a<$core.int>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stepSize', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - NodeSetting_IntValue._() : super(); factory NodeSetting_IntValue({ $core.int? value, $core.int? min, @@ -1669,29 +1740,41 @@ class NodeSetting_IntValue extends $pb.GeneratedMessage { $core.int? maxHint, $core.int? stepSize, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (min != null) { - _result.min = min; + $result.min = min; } if (minHint != null) { - _result.minHint = minHint; + $result.minHint = minHint; } if (max != null) { - _result.max = max; + $result.max = max; } if (maxHint != null) { - _result.maxHint = maxHint; + $result.maxHint = maxHint; } if (stepSize != null) { - _result.stepSize = stepSize; + $result.stepSize = stepSize; } - return _result; + return $result; } + NodeSetting_IntValue._() : super(); factory NodeSetting_IntValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_IntValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.IntValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'min', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'minHint', $pb.PbFieldType.O3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'max', $pb.PbFieldType.O3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'maxHint', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'stepSize', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1701,8 +1784,10 @@ class NodeSetting_IntValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_IntValue copyWith(void Function(NodeSetting_IntValue) updates) => super.copyWith((message) => updates(message as NodeSetting_IntValue)) as NodeSetting_IntValue; // ignore: deprecated_member_use + NodeSetting_IntValue copyWith(void Function(NodeSetting_IntValue) updates) => super.copyWith((message) => updates(message as NodeSetting_IntValue)) as NodeSetting_IntValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_IntValue create() => NodeSetting_IntValue._(); NodeSetting_IntValue createEmptyInstance() => create(); @@ -1767,17 +1852,6 @@ class NodeSetting_IntValue extends $pb.GeneratedMessage { } class NodeSetting_UintValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.UintValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OU3) - ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'min', $pb.PbFieldType.OU3) - ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'minHint', $pb.PbFieldType.OU3) - ..a<$core.int>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'max', $pb.PbFieldType.OU3) - ..a<$core.int>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'maxHint', $pb.PbFieldType.OU3) - ..a<$core.int>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stepSize', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - NodeSetting_UintValue._() : super(); factory NodeSetting_UintValue({ $core.int? value, $core.int? min, @@ -1786,29 +1860,41 @@ class NodeSetting_UintValue extends $pb.GeneratedMessage { $core.int? maxHint, $core.int? stepSize, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (min != null) { - _result.min = min; + $result.min = min; } if (minHint != null) { - _result.minHint = minHint; + $result.minHint = minHint; } if (max != null) { - _result.max = max; + $result.max = max; } if (maxHint != null) { - _result.maxHint = maxHint; + $result.maxHint = maxHint; } if (stepSize != null) { - _result.stepSize = stepSize; + $result.stepSize = stepSize; } - return _result; + return $result; } + NodeSetting_UintValue._() : super(); factory NodeSetting_UintValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_UintValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.UintValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'min', $pb.PbFieldType.OU3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'minHint', $pb.PbFieldType.OU3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'max', $pb.PbFieldType.OU3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'maxHint', $pb.PbFieldType.OU3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'stepSize', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1818,8 +1904,10 @@ class NodeSetting_UintValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_UintValue copyWith(void Function(NodeSetting_UintValue) updates) => super.copyWith((message) => updates(message as NodeSetting_UintValue)) as NodeSetting_UintValue; // ignore: deprecated_member_use + NodeSetting_UintValue copyWith(void Function(NodeSetting_UintValue) updates) => super.copyWith((message) => updates(message as NodeSetting_UintValue)) as NodeSetting_UintValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_UintValue create() => NodeSetting_UintValue._(); NodeSetting_UintValue createEmptyInstance() => create(); @@ -1884,23 +1972,24 @@ class NodeSetting_UintValue extends $pb.GeneratedMessage { } class NodeSetting_BoolValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.BoolValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value') - ..hasRequiredFields = false - ; - - NodeSetting_BoolValue._() : super(); factory NodeSetting_BoolValue({ $core.bool? value, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } - return _result; + return $result; } + NodeSetting_BoolValue._() : super(); factory NodeSetting_BoolValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_BoolValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.BoolValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'value') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1910,8 +1999,10 @@ class NodeSetting_BoolValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_BoolValue copyWith(void Function(NodeSetting_BoolValue) updates) => super.copyWith((message) => updates(message as NodeSetting_BoolValue)) as NodeSetting_BoolValue; // ignore: deprecated_member_use + NodeSetting_BoolValue copyWith(void Function(NodeSetting_BoolValue) updates) => super.copyWith((message) => updates(message as NodeSetting_BoolValue)) as NodeSetting_BoolValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_BoolValue create() => NodeSetting_BoolValue._(); NodeSetting_BoolValue createEmptyInstance() => create(); @@ -1931,28 +2022,29 @@ class NodeSetting_BoolValue extends $pb.GeneratedMessage { } class NodeSetting_SelectValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.SelectValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value') - ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'variants', $pb.PbFieldType.PM, subBuilder: NodeSetting_SelectVariant.create) - ..hasRequiredFields = false - ; - - NodeSetting_SelectValue._() : super(); factory NodeSetting_SelectValue({ $core.String? value, $core.Iterable? variants, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (variants != null) { - _result.variants.addAll(variants); + $result.variants.addAll(variants); } - return _result; + return $result; } + NodeSetting_SelectValue._() : super(); factory NodeSetting_SelectValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_SelectValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.SelectValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'value') + ..pc(2, _omitFieldNames ? '' : 'variants', $pb.PbFieldType.PM, subBuilder: NodeSetting_SelectVariant.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1962,8 +2054,10 @@ class NodeSetting_SelectValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_SelectValue copyWith(void Function(NodeSetting_SelectValue) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectValue)) as NodeSetting_SelectValue; // ignore: deprecated_member_use + NodeSetting_SelectValue copyWith(void Function(NodeSetting_SelectValue) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectValue)) as NodeSetting_SelectValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_SelectValue create() => NodeSetting_SelectValue._(); NodeSetting_SelectValue createEmptyInstance() => create(); @@ -1986,28 +2080,29 @@ class NodeSetting_SelectValue extends $pb.GeneratedMessage { } class NodeSetting_SelectVariant_SelectGroup extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.SelectVariant.SelectGroup', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'label') - ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'items', $pb.PbFieldType.PM, subBuilder: NodeSetting_SelectVariant.create) - ..hasRequiredFields = false - ; - - NodeSetting_SelectVariant_SelectGroup._() : super(); factory NodeSetting_SelectVariant_SelectGroup({ $core.String? label, $core.Iterable? items, }) { - final _result = create(); + final $result = create(); if (label != null) { - _result.label = label; + $result.label = label; } if (items != null) { - _result.items.addAll(items); + $result.items.addAll(items); } - return _result; + return $result; } + NodeSetting_SelectVariant_SelectGroup._() : super(); factory NodeSetting_SelectVariant_SelectGroup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_SelectVariant_SelectGroup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.SelectVariant.SelectGroup', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'label') + ..pc(2, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: NodeSetting_SelectVariant.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2017,8 +2112,10 @@ class NodeSetting_SelectVariant_SelectGroup extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_SelectVariant_SelectGroup copyWith(void Function(NodeSetting_SelectVariant_SelectGroup) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectVariant_SelectGroup)) as NodeSetting_SelectVariant_SelectGroup; // ignore: deprecated_member_use + NodeSetting_SelectVariant_SelectGroup copyWith(void Function(NodeSetting_SelectVariant_SelectGroup) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectVariant_SelectGroup)) as NodeSetting_SelectVariant_SelectGroup; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_SelectVariant_SelectGroup create() => NodeSetting_SelectVariant_SelectGroup._(); NodeSetting_SelectVariant_SelectGroup createEmptyInstance() => create(); @@ -2041,28 +2138,29 @@ class NodeSetting_SelectVariant_SelectGroup extends $pb.GeneratedMessage { } class NodeSetting_SelectVariant_SelectItem extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.SelectVariant.SelectItem', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'label') - ..hasRequiredFields = false - ; - - NodeSetting_SelectVariant_SelectItem._() : super(); factory NodeSetting_SelectVariant_SelectItem({ $core.String? value, $core.String? label, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (label != null) { - _result.label = label; + $result.label = label; } - return _result; + return $result; } + NodeSetting_SelectVariant_SelectItem._() : super(); factory NodeSetting_SelectVariant_SelectItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_SelectVariant_SelectItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.SelectVariant.SelectItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'value') + ..aOS(2, _omitFieldNames ? '' : 'label') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2072,8 +2170,10 @@ class NodeSetting_SelectVariant_SelectItem extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_SelectVariant_SelectItem copyWith(void Function(NodeSetting_SelectVariant_SelectItem) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectVariant_SelectItem)) as NodeSetting_SelectVariant_SelectItem; // ignore: deprecated_member_use + NodeSetting_SelectVariant_SelectItem copyWith(void Function(NodeSetting_SelectVariant_SelectItem) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectVariant_SelectItem)) as NodeSetting_SelectVariant_SelectItem; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_SelectVariant_SelectItem create() => NodeSetting_SelectVariant_SelectItem._(); NodeSetting_SelectVariant_SelectItem createEmptyInstance() => create(); @@ -2108,34 +2208,35 @@ enum NodeSetting_SelectVariant_Variant { } class NodeSetting_SelectVariant extends $pb.GeneratedMessage { - static const $core.Map<$core.int, NodeSetting_SelectVariant_Variant> _NodeSetting_SelectVariant_VariantByTag = { - 1 : NodeSetting_SelectVariant_Variant.group, - 2 : NodeSetting_SelectVariant_Variant.item, - 0 : NodeSetting_SelectVariant_Variant.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.SelectVariant', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'group', subBuilder: NodeSetting_SelectVariant_SelectGroup.create) - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'item', subBuilder: NodeSetting_SelectVariant_SelectItem.create) - ..hasRequiredFields = false - ; - - NodeSetting_SelectVariant._() : super(); factory NodeSetting_SelectVariant({ NodeSetting_SelectVariant_SelectGroup? group, NodeSetting_SelectVariant_SelectItem? item, }) { - final _result = create(); + final $result = create(); if (group != null) { - _result.group = group; + $result.group = group; } if (item != null) { - _result.item = item; + $result.item = item; } - return _result; + return $result; } + NodeSetting_SelectVariant._() : super(); factory NodeSetting_SelectVariant.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_SelectVariant.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, NodeSetting_SelectVariant_Variant> _NodeSetting_SelectVariant_VariantByTag = { + 1 : NodeSetting_SelectVariant_Variant.group, + 2 : NodeSetting_SelectVariant_Variant.item, + 0 : NodeSetting_SelectVariant_Variant.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.SelectVariant', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..oo(0, [1, 2]) + ..aOM(1, _omitFieldNames ? '' : 'group', subBuilder: NodeSetting_SelectVariant_SelectGroup.create) + ..aOM(2, _omitFieldNames ? '' : 'item', subBuilder: NodeSetting_SelectVariant_SelectItem.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2145,8 +2246,10 @@ class NodeSetting_SelectVariant extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_SelectVariant copyWith(void Function(NodeSetting_SelectVariant) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectVariant)) as NodeSetting_SelectVariant; // ignore: deprecated_member_use + NodeSetting_SelectVariant copyWith(void Function(NodeSetting_SelectVariant) updates) => super.copyWith((message) => updates(message as NodeSetting_SelectVariant)) as NodeSetting_SelectVariant; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_SelectVariant create() => NodeSetting_SelectVariant._(); NodeSetting_SelectVariant createEmptyInstance() => create(); @@ -2182,28 +2285,29 @@ class NodeSetting_SelectVariant extends $pb.GeneratedMessage { } class NodeSetting_EnumValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.EnumValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OU3) - ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'variants', $pb.PbFieldType.PM, subBuilder: NodeSetting_EnumVariant.create) - ..hasRequiredFields = false - ; - - NodeSetting_EnumValue._() : super(); factory NodeSetting_EnumValue({ $core.int? value, $core.Iterable? variants, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (variants != null) { - _result.variants.addAll(variants); + $result.variants.addAll(variants); } - return _result; + return $result; } + NodeSetting_EnumValue._() : super(); factory NodeSetting_EnumValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_EnumValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.EnumValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) + ..pc(2, _omitFieldNames ? '' : 'variants', $pb.PbFieldType.PM, subBuilder: NodeSetting_EnumVariant.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2213,8 +2317,10 @@ class NodeSetting_EnumValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_EnumValue copyWith(void Function(NodeSetting_EnumValue) updates) => super.copyWith((message) => updates(message as NodeSetting_EnumValue)) as NodeSetting_EnumValue; // ignore: deprecated_member_use + NodeSetting_EnumValue copyWith(void Function(NodeSetting_EnumValue) updates) => super.copyWith((message) => updates(message as NodeSetting_EnumValue)) as NodeSetting_EnumValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_EnumValue create() => NodeSetting_EnumValue._(); NodeSetting_EnumValue createEmptyInstance() => create(); @@ -2237,28 +2343,29 @@ class NodeSetting_EnumValue extends $pb.GeneratedMessage { } class NodeSetting_EnumVariant extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.EnumVariant', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OU3) - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'label') - ..hasRequiredFields = false - ; - - NodeSetting_EnumVariant._() : super(); factory NodeSetting_EnumVariant({ $core.int? value, $core.String? label, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (label != null) { - _result.label = label; + $result.label = label; } - return _result; + return $result; } + NodeSetting_EnumVariant._() : super(); factory NodeSetting_EnumVariant.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_EnumVariant.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.EnumVariant', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) + ..aOS(2, _omitFieldNames ? '' : 'label') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2268,8 +2375,10 @@ class NodeSetting_EnumVariant extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_EnumVariant copyWith(void Function(NodeSetting_EnumVariant) updates) => super.copyWith((message) => updates(message as NodeSetting_EnumVariant)) as NodeSetting_EnumVariant; // ignore: deprecated_member_use + NodeSetting_EnumVariant copyWith(void Function(NodeSetting_EnumVariant) updates) => super.copyWith((message) => updates(message as NodeSetting_EnumVariant)) as NodeSetting_EnumVariant; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_EnumVariant create() => NodeSetting_EnumVariant._(); NodeSetting_EnumVariant createEmptyInstance() => create(); @@ -2298,28 +2407,29 @@ class NodeSetting_EnumVariant extends $pb.GeneratedMessage { } class NodeSetting_IdValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.IdValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OU3) - ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'variants', $pb.PbFieldType.PM, subBuilder: NodeSetting_IdVariant.create) - ..hasRequiredFields = false - ; - - NodeSetting_IdValue._() : super(); factory NodeSetting_IdValue({ $core.int? value, $core.Iterable? variants, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (variants != null) { - _result.variants.addAll(variants); + $result.variants.addAll(variants); } - return _result; + return $result; } + NodeSetting_IdValue._() : super(); factory NodeSetting_IdValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_IdValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.IdValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) + ..pc(2, _omitFieldNames ? '' : 'variants', $pb.PbFieldType.PM, subBuilder: NodeSetting_IdVariant.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2329,8 +2439,10 @@ class NodeSetting_IdValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_IdValue copyWith(void Function(NodeSetting_IdValue) updates) => super.copyWith((message) => updates(message as NodeSetting_IdValue)) as NodeSetting_IdValue; // ignore: deprecated_member_use + NodeSetting_IdValue copyWith(void Function(NodeSetting_IdValue) updates) => super.copyWith((message) => updates(message as NodeSetting_IdValue)) as NodeSetting_IdValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_IdValue create() => NodeSetting_IdValue._(); NodeSetting_IdValue createEmptyInstance() => create(); @@ -2353,28 +2465,29 @@ class NodeSetting_IdValue extends $pb.GeneratedMessage { } class NodeSetting_IdVariant extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.IdVariant', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OU3) - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'label') - ..hasRequiredFields = false - ; - - NodeSetting_IdVariant._() : super(); factory NodeSetting_IdVariant({ $core.int? value, $core.String? label, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (label != null) { - _result.label = label; + $result.label = label; } - return _result; + return $result; } + NodeSetting_IdVariant._() : super(); factory NodeSetting_IdVariant.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_IdVariant.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.IdVariant', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) + ..aOS(2, _omitFieldNames ? '' : 'label') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2384,8 +2497,10 @@ class NodeSetting_IdVariant extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_IdVariant copyWith(void Function(NodeSetting_IdVariant) updates) => super.copyWith((message) => updates(message as NodeSetting_IdVariant)) as NodeSetting_IdVariant; // ignore: deprecated_member_use + NodeSetting_IdVariant copyWith(void Function(NodeSetting_IdVariant) updates) => super.copyWith((message) => updates(message as NodeSetting_IdVariant)) as NodeSetting_IdVariant; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_IdVariant create() => NodeSetting_IdVariant._(); NodeSetting_IdVariant createEmptyInstance() => create(); @@ -2414,17 +2529,6 @@ class NodeSetting_IdVariant extends $pb.GeneratedMessage { } class NodeSetting_SplineValue_SplineStep extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.SplineValue.SplineStep', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.double>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'c0a', $pb.PbFieldType.OD) - ..a<$core.double>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'c0b', $pb.PbFieldType.OD) - ..a<$core.double>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'c1a', $pb.PbFieldType.OD) - ..a<$core.double>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'c1b', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - NodeSetting_SplineValue_SplineStep._() : super(); factory NodeSetting_SplineValue_SplineStep({ $core.double? x, $core.double? y, @@ -2433,29 +2537,41 @@ class NodeSetting_SplineValue_SplineStep extends $pb.GeneratedMessage { $core.double? c1a, $core.double? c1b, }) { - final _result = create(); + final $result = create(); if (x != null) { - _result.x = x; + $result.x = x; } if (y != null) { - _result.y = y; + $result.y = y; } if (c0a != null) { - _result.c0a = c0a; + $result.c0a = c0a; } if (c0b != null) { - _result.c0b = c0b; + $result.c0b = c0b; } if (c1a != null) { - _result.c1a = c1a; + $result.c1a = c1a; } if (c1b != null) { - _result.c1b = c1b; + $result.c1b = c1b; } - return _result; + return $result; } + NodeSetting_SplineValue_SplineStep._() : super(); factory NodeSetting_SplineValue_SplineStep.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_SplineValue_SplineStep.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.SplineValue.SplineStep', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) + ..a<$core.double>(2, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) + ..a<$core.double>(3, _omitFieldNames ? '' : 'c0a', $pb.PbFieldType.OD) + ..a<$core.double>(4, _omitFieldNames ? '' : 'c0b', $pb.PbFieldType.OD) + ..a<$core.double>(5, _omitFieldNames ? '' : 'c1a', $pb.PbFieldType.OD) + ..a<$core.double>(6, _omitFieldNames ? '' : 'c1b', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2465,8 +2581,10 @@ class NodeSetting_SplineValue_SplineStep extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_SplineValue_SplineStep copyWith(void Function(NodeSetting_SplineValue_SplineStep) updates) => super.copyWith((message) => updates(message as NodeSetting_SplineValue_SplineStep)) as NodeSetting_SplineValue_SplineStep; // ignore: deprecated_member_use + NodeSetting_SplineValue_SplineStep copyWith(void Function(NodeSetting_SplineValue_SplineStep) updates) => super.copyWith((message) => updates(message as NodeSetting_SplineValue_SplineStep)) as NodeSetting_SplineValue_SplineStep; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_SplineValue_SplineStep create() => NodeSetting_SplineValue_SplineStep._(); NodeSetting_SplineValue_SplineStep createEmptyInstance() => create(); @@ -2531,23 +2649,24 @@ class NodeSetting_SplineValue_SplineStep extends $pb.GeneratedMessage { } class NodeSetting_SplineValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.SplineValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'steps', $pb.PbFieldType.PM, subBuilder: NodeSetting_SplineValue_SplineStep.create) - ..hasRequiredFields = false - ; - - NodeSetting_SplineValue._() : super(); factory NodeSetting_SplineValue({ $core.Iterable? steps, }) { - final _result = create(); + final $result = create(); if (steps != null) { - _result.steps.addAll(steps); + $result.steps.addAll(steps); } - return _result; + return $result; } + NodeSetting_SplineValue._() : super(); factory NodeSetting_SplineValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_SplineValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.SplineValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'steps', $pb.PbFieldType.PM, subBuilder: NodeSetting_SplineValue_SplineStep.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2557,8 +2676,10 @@ class NodeSetting_SplineValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_SplineValue copyWith(void Function(NodeSetting_SplineValue) updates) => super.copyWith((message) => updates(message as NodeSetting_SplineValue)) as NodeSetting_SplineValue; // ignore: deprecated_member_use + NodeSetting_SplineValue copyWith(void Function(NodeSetting_SplineValue) updates) => super.copyWith((message) => updates(message as NodeSetting_SplineValue)) as NodeSetting_SplineValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_SplineValue create() => NodeSetting_SplineValue._(); NodeSetting_SplineValue createEmptyInstance() => create(); @@ -2572,28 +2693,29 @@ class NodeSetting_SplineValue extends $pb.GeneratedMessage { } class NodeSetting_MediaValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.MediaValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value') - ..pc<$0.MediaType>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'allowedTypes', $pb.PbFieldType.KE, valueOf: $0.MediaType.valueOf, enumValues: $0.MediaType.values, defaultEnumValue: $0.MediaType.IMAGE) - ..hasRequiredFields = false - ; - - NodeSetting_MediaValue._() : super(); factory NodeSetting_MediaValue({ $core.String? value, $core.Iterable<$0.MediaType>? allowedTypes, }) { - final _result = create(); + final $result = create(); if (value != null) { - _result.value = value; + $result.value = value; } if (allowedTypes != null) { - _result.allowedTypes.addAll(allowedTypes); + $result.allowedTypes.addAll(allowedTypes); } - return _result; + return $result; } + NodeSetting_MediaValue._() : super(); factory NodeSetting_MediaValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_MediaValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.MediaValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'value') + ..pc<$0.MediaType>(2, _omitFieldNames ? '' : 'allowedTypes', $pb.PbFieldType.KE, valueOf: $0.MediaType.valueOf, enumValues: $0.MediaType.values, defaultEnumValue: $0.MediaType.IMAGE) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2603,8 +2725,10 @@ class NodeSetting_MediaValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_MediaValue copyWith(void Function(NodeSetting_MediaValue) updates) => super.copyWith((message) => updates(message as NodeSetting_MediaValue)) as NodeSetting_MediaValue; // ignore: deprecated_member_use + NodeSetting_MediaValue copyWith(void Function(NodeSetting_MediaValue) updates) => super.copyWith((message) => updates(message as NodeSetting_MediaValue)) as NodeSetting_MediaValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_MediaValue create() => NodeSetting_MediaValue._(); NodeSetting_MediaValue createEmptyInstance() => create(); @@ -2627,23 +2751,24 @@ class NodeSetting_MediaValue extends $pb.GeneratedMessage { } class NodeSetting_StepSequencerValue extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting.StepSequencerValue', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..p<$core.bool>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'steps', $pb.PbFieldType.KB) - ..hasRequiredFields = false - ; - - NodeSetting_StepSequencerValue._() : super(); factory NodeSetting_StepSequencerValue({ $core.Iterable<$core.bool>? steps, }) { - final _result = create(); + final $result = create(); if (steps != null) { - _result.steps.addAll(steps); + $result.steps.addAll(steps); } - return _result; + return $result; } + NodeSetting_StepSequencerValue._() : super(); factory NodeSetting_StepSequencerValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting_StepSequencerValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting.StepSequencerValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..p<$core.bool>(1, _omitFieldNames ? '' : 'steps', $pb.PbFieldType.KB) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2653,8 +2778,10 @@ class NodeSetting_StepSequencerValue extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting_StepSequencerValue copyWith(void Function(NodeSetting_StepSequencerValue) updates) => super.copyWith((message) => updates(message as NodeSetting_StepSequencerValue)) as NodeSetting_StepSequencerValue; // ignore: deprecated_member_use + NodeSetting_StepSequencerValue copyWith(void Function(NodeSetting_StepSequencerValue) updates) => super.copyWith((message) => updates(message as NodeSetting_StepSequencerValue)) as NodeSetting_StepSequencerValue; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting_StepSequencerValue create() => NodeSetting_StepSequencerValue._(); NodeSetting_StepSequencerValue createEmptyInstance() => create(); @@ -2683,42 +2810,6 @@ enum NodeSetting_Value { } class NodeSetting extends $pb.GeneratedMessage { - static const $core.Map<$core.int, NodeSetting_Value> _NodeSetting_ValueByTag = { - 6 : NodeSetting_Value.textValue, - 7 : NodeSetting_Value.floatValue, - 8 : NodeSetting_Value.intValue, - 9 : NodeSetting_Value.boolValue, - 10 : NodeSetting_Value.selectValue, - 11 : NodeSetting_Value.enumValue, - 12 : NodeSetting_Value.idValue, - 13 : NodeSetting_Value.splineValue, - 14 : NodeSetting_Value.mediaValue, - 15 : NodeSetting_Value.uintValue, - 16 : NodeSetting_Value.stepSequencerValue, - 0 : NodeSetting_Value.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeSetting', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..oo(0, [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'label') - ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'category') - ..aOS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'description') - ..aOB(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'disabled') - ..aOM(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'textValue', subBuilder: NodeSetting_TextValue.create) - ..aOM(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'floatValue', subBuilder: NodeSetting_FloatValue.create) - ..aOM(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'intValue', subBuilder: NodeSetting_IntValue.create) - ..aOM(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'boolValue', subBuilder: NodeSetting_BoolValue.create) - ..aOM(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'selectValue', subBuilder: NodeSetting_SelectValue.create) - ..aOM(11, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'enumValue', subBuilder: NodeSetting_EnumValue.create) - ..aOM(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'idValue', subBuilder: NodeSetting_IdValue.create) - ..aOM(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'splineValue', subBuilder: NodeSetting_SplineValue.create) - ..aOM(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mediaValue', subBuilder: NodeSetting_MediaValue.create) - ..aOM(15, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'uintValue', subBuilder: NodeSetting_UintValue.create) - ..aOM(16, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stepSequencerValue', subBuilder: NodeSetting_StepSequencerValue.create) - ..hasRequiredFields = false - ; - - NodeSetting._() : super(); factory NodeSetting({ $core.String? id, $core.String? label, @@ -2737,59 +2828,96 @@ class NodeSetting extends $pb.GeneratedMessage { NodeSetting_UintValue? uintValue, NodeSetting_StepSequencerValue? stepSequencerValue, }) { - final _result = create(); + final $result = create(); if (id != null) { - _result.id = id; + $result.id = id; } if (label != null) { - _result.label = label; + $result.label = label; } if (category != null) { - _result.category = category; + $result.category = category; } if (description != null) { - _result.description = description; + $result.description = description; } if (disabled != null) { - _result.disabled = disabled; + $result.disabled = disabled; } if (textValue != null) { - _result.textValue = textValue; + $result.textValue = textValue; } if (floatValue != null) { - _result.floatValue = floatValue; + $result.floatValue = floatValue; } if (intValue != null) { - _result.intValue = intValue; + $result.intValue = intValue; } if (boolValue != null) { - _result.boolValue = boolValue; + $result.boolValue = boolValue; } if (selectValue != null) { - _result.selectValue = selectValue; + $result.selectValue = selectValue; } if (enumValue != null) { - _result.enumValue = enumValue; + $result.enumValue = enumValue; } if (idValue != null) { - _result.idValue = idValue; + $result.idValue = idValue; } if (splineValue != null) { - _result.splineValue = splineValue; + $result.splineValue = splineValue; } if (mediaValue != null) { - _result.mediaValue = mediaValue; + $result.mediaValue = mediaValue; } if (uintValue != null) { - _result.uintValue = uintValue; + $result.uintValue = uintValue; } if (stepSequencerValue != null) { - _result.stepSequencerValue = stepSequencerValue; + $result.stepSequencerValue = stepSequencerValue; } - return _result; + return $result; } + NodeSetting._() : super(); factory NodeSetting.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeSetting.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, NodeSetting_Value> _NodeSetting_ValueByTag = { + 6 : NodeSetting_Value.textValue, + 7 : NodeSetting_Value.floatValue, + 8 : NodeSetting_Value.intValue, + 9 : NodeSetting_Value.boolValue, + 10 : NodeSetting_Value.selectValue, + 11 : NodeSetting_Value.enumValue, + 12 : NodeSetting_Value.idValue, + 13 : NodeSetting_Value.splineValue, + 14 : NodeSetting_Value.mediaValue, + 15 : NodeSetting_Value.uintValue, + 16 : NodeSetting_Value.stepSequencerValue, + 0 : NodeSetting_Value.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSetting', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..oo(0, [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]) + ..aOS(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'label') + ..aOS(3, _omitFieldNames ? '' : 'category') + ..aOS(4, _omitFieldNames ? '' : 'description') + ..aOB(5, _omitFieldNames ? '' : 'disabled') + ..aOM(6, _omitFieldNames ? '' : 'textValue', subBuilder: NodeSetting_TextValue.create) + ..aOM(7, _omitFieldNames ? '' : 'floatValue', subBuilder: NodeSetting_FloatValue.create) + ..aOM(8, _omitFieldNames ? '' : 'intValue', subBuilder: NodeSetting_IntValue.create) + ..aOM(9, _omitFieldNames ? '' : 'boolValue', subBuilder: NodeSetting_BoolValue.create) + ..aOM(10, _omitFieldNames ? '' : 'selectValue', subBuilder: NodeSetting_SelectValue.create) + ..aOM(11, _omitFieldNames ? '' : 'enumValue', subBuilder: NodeSetting_EnumValue.create) + ..aOM(12, _omitFieldNames ? '' : 'idValue', subBuilder: NodeSetting_IdValue.create) + ..aOM(13, _omitFieldNames ? '' : 'splineValue', subBuilder: NodeSetting_SplineValue.create) + ..aOM(14, _omitFieldNames ? '' : 'mediaValue', subBuilder: NodeSetting_MediaValue.create) + ..aOM(15, _omitFieldNames ? '' : 'uintValue', subBuilder: NodeSetting_UintValue.create) + ..aOM(16, _omitFieldNames ? '' : 'stepSequencerValue', subBuilder: NodeSetting_StepSequencerValue.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2799,8 +2927,10 @@ class NodeSetting extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeSetting copyWith(void Function(NodeSetting) updates) => super.copyWith((message) => updates(message as NodeSetting)) as NodeSetting; // ignore: deprecated_member_use + NodeSetting copyWith(void Function(NodeSetting) updates) => super.copyWith((message) => updates(message as NodeSetting)) as NodeSetting; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeSetting create() => NodeSetting._(); NodeSetting createEmptyInstance() => create(); @@ -2980,16 +3110,6 @@ class NodeSetting extends $pb.GeneratedMessage { } class MidiNodeConfig_NoteBinding extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MidiNodeConfig.NoteBinding', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'channel', $pb.PbFieldType.OU3) - ..e(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: MidiNodeConfig_NoteBinding_MidiType.CC, valueOf: MidiNodeConfig_NoteBinding_MidiType.valueOf, enumValues: MidiNodeConfig_NoteBinding_MidiType.values) - ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'port', $pb.PbFieldType.OU3) - ..a<$core.int>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'rangeFrom', $pb.PbFieldType.OU3) - ..a<$core.int>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'rangeTo', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - MidiNodeConfig_NoteBinding._() : super(); factory MidiNodeConfig_NoteBinding({ $core.int? channel, MidiNodeConfig_NoteBinding_MidiType? type, @@ -2997,26 +3117,37 @@ class MidiNodeConfig_NoteBinding extends $pb.GeneratedMessage { $core.int? rangeFrom, $core.int? rangeTo, }) { - final _result = create(); + final $result = create(); if (channel != null) { - _result.channel = channel; + $result.channel = channel; } if (type != null) { - _result.type = type; + $result.type = type; } if (port != null) { - _result.port = port; + $result.port = port; } if (rangeFrom != null) { - _result.rangeFrom = rangeFrom; + $result.rangeFrom = rangeFrom; } if (rangeTo != null) { - _result.rangeTo = rangeTo; + $result.rangeTo = rangeTo; } - return _result; + return $result; } + MidiNodeConfig_NoteBinding._() : super(); factory MidiNodeConfig_NoteBinding.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MidiNodeConfig_NoteBinding.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MidiNodeConfig.NoteBinding', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'channel', $pb.PbFieldType.OU3) + ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: MidiNodeConfig_NoteBinding_MidiType.CC, valueOf: MidiNodeConfig_NoteBinding_MidiType.valueOf, enumValues: MidiNodeConfig_NoteBinding_MidiType.values) + ..a<$core.int>(3, _omitFieldNames ? '' : 'port', $pb.PbFieldType.OU3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'rangeFrom', $pb.PbFieldType.OU3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'rangeTo', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3026,8 +3157,10 @@ class MidiNodeConfig_NoteBinding extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - MidiNodeConfig_NoteBinding copyWith(void Function(MidiNodeConfig_NoteBinding) updates) => super.copyWith((message) => updates(message as MidiNodeConfig_NoteBinding)) as MidiNodeConfig_NoteBinding; // ignore: deprecated_member_use + MidiNodeConfig_NoteBinding copyWith(void Function(MidiNodeConfig_NoteBinding) updates) => super.copyWith((message) => updates(message as MidiNodeConfig_NoteBinding)) as MidiNodeConfig_NoteBinding; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static MidiNodeConfig_NoteBinding create() => MidiNodeConfig_NoteBinding._(); MidiNodeConfig_NoteBinding createEmptyInstance() => create(); @@ -3083,28 +3216,29 @@ class MidiNodeConfig_NoteBinding extends $pb.GeneratedMessage { } class MidiNodeConfig_ControlBinding extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MidiNodeConfig.ControlBinding', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'page') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'control') - ..hasRequiredFields = false - ; - - MidiNodeConfig_ControlBinding._() : super(); factory MidiNodeConfig_ControlBinding({ $core.String? page, $core.String? control, }) { - final _result = create(); + final $result = create(); if (page != null) { - _result.page = page; + $result.page = page; } if (control != null) { - _result.control = control; + $result.control = control; } - return _result; + return $result; } + MidiNodeConfig_ControlBinding._() : super(); factory MidiNodeConfig_ControlBinding.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MidiNodeConfig_ControlBinding.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MidiNodeConfig.ControlBinding', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'page') + ..aOS(2, _omitFieldNames ? '' : 'control') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3114,8 +3248,10 @@ class MidiNodeConfig_ControlBinding extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - MidiNodeConfig_ControlBinding copyWith(void Function(MidiNodeConfig_ControlBinding) updates) => super.copyWith((message) => updates(message as MidiNodeConfig_ControlBinding)) as MidiNodeConfig_ControlBinding; // ignore: deprecated_member_use + MidiNodeConfig_ControlBinding copyWith(void Function(MidiNodeConfig_ControlBinding) updates) => super.copyWith((message) => updates(message as MidiNodeConfig_ControlBinding)) as MidiNodeConfig_ControlBinding; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static MidiNodeConfig_ControlBinding create() => MidiNodeConfig_ControlBinding._(); MidiNodeConfig_ControlBinding createEmptyInstance() => create(); @@ -3150,39 +3286,40 @@ enum MidiNodeConfig_Binding { } class MidiNodeConfig extends $pb.GeneratedMessage { - static const $core.Map<$core.int, MidiNodeConfig_Binding> _MidiNodeConfig_BindingByTag = { - 2 : MidiNodeConfig_Binding.noteBinding, - 3 : MidiNodeConfig_Binding.controlBinding, - 0 : MidiNodeConfig_Binding.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MidiNodeConfig', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..oo(0, [2, 3]) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'device') - ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'noteBinding', subBuilder: MidiNodeConfig_NoteBinding.create) - ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'controlBinding', subBuilder: MidiNodeConfig_ControlBinding.create) - ..hasRequiredFields = false - ; - - MidiNodeConfig._() : super(); factory MidiNodeConfig({ $core.String? device, MidiNodeConfig_NoteBinding? noteBinding, MidiNodeConfig_ControlBinding? controlBinding, }) { - final _result = create(); + final $result = create(); if (device != null) { - _result.device = device; + $result.device = device; } if (noteBinding != null) { - _result.noteBinding = noteBinding; + $result.noteBinding = noteBinding; } if (controlBinding != null) { - _result.controlBinding = controlBinding; + $result.controlBinding = controlBinding; } - return _result; + return $result; } + MidiNodeConfig._() : super(); factory MidiNodeConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MidiNodeConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, MidiNodeConfig_Binding> _MidiNodeConfig_BindingByTag = { + 2 : MidiNodeConfig_Binding.noteBinding, + 3 : MidiNodeConfig_Binding.controlBinding, + 0 : MidiNodeConfig_Binding.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MidiNodeConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..oo(0, [2, 3]) + ..aOS(1, _omitFieldNames ? '' : 'device') + ..aOM(2, _omitFieldNames ? '' : 'noteBinding', subBuilder: MidiNodeConfig_NoteBinding.create) + ..aOM(3, _omitFieldNames ? '' : 'controlBinding', subBuilder: MidiNodeConfig_ControlBinding.create) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3192,8 +3329,10 @@ class MidiNodeConfig extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - MidiNodeConfig copyWith(void Function(MidiNodeConfig) updates) => super.copyWith((message) => updates(message as MidiNodeConfig)) as MidiNodeConfig; // ignore: deprecated_member_use + MidiNodeConfig copyWith(void Function(MidiNodeConfig) updates) => super.copyWith((message) => updates(message as MidiNodeConfig)) as MidiNodeConfig; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static MidiNodeConfig create() => MidiNodeConfig._(); MidiNodeConfig createEmptyInstance() => create(); @@ -3238,28 +3377,29 @@ class MidiNodeConfig extends $pb.GeneratedMessage { } class NodePosition extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodePosition', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..a<$core.double>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'y', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - NodePosition._() : super(); factory NodePosition({ $core.double? x, $core.double? y, }) { - final _result = create(); + final $result = create(); if (x != null) { - _result.x = x; + $result.x = x; } if (y != null) { - _result.y = y; + $result.y = y; } - return _result; + return $result; } + NodePosition._() : super(); factory NodePosition.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodePosition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodePosition', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) + ..a<$core.double>(2, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3269,8 +3409,10 @@ class NodePosition extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodePosition copyWith(void Function(NodePosition) updates) => super.copyWith((message) => updates(message as NodePosition)) as NodePosition; // ignore: deprecated_member_use + NodePosition copyWith(void Function(NodePosition) updates) => super.copyWith((message) => updates(message as NodePosition)) as NodePosition; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodePosition create() => NodePosition._(); NodePosition createEmptyInstance() => create(); @@ -3299,38 +3441,39 @@ class NodePosition extends $pb.GeneratedMessage { } class NodeDesigner extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NodeDesigner', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'position', subBuilder: NodePosition.create) - ..a<$core.double>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scale', $pb.PbFieldType.OD) - ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hidden') - ..e(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'color', $pb.PbFieldType.OE, defaultOrMaker: NodeColor.NODE_COLOR_NONE, valueOf: NodeColor.valueOf, enumValues: NodeColor.values) - ..hasRequiredFields = false - ; - - NodeDesigner._() : super(); factory NodeDesigner({ NodePosition? position, $core.double? scale, $core.bool? hidden, NodeColor? color, }) { - final _result = create(); + final $result = create(); if (position != null) { - _result.position = position; + $result.position = position; } if (scale != null) { - _result.scale = scale; + $result.scale = scale; } if (hidden != null) { - _result.hidden = hidden; + $result.hidden = hidden; } if (color != null) { - _result.color = color; + $result.color = color; } - return _result; + return $result; } + NodeDesigner._() : super(); factory NodeDesigner.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory NodeDesigner.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeDesigner', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'position', subBuilder: NodePosition.create) + ..a<$core.double>(2, _omitFieldNames ? '' : 'scale', $pb.PbFieldType.OD) + ..aOB(3, _omitFieldNames ? '' : 'hidden') + ..e(4, _omitFieldNames ? '' : 'color', $pb.PbFieldType.OE, defaultOrMaker: NodeColor.NODE_COLOR_NONE, valueOf: NodeColor.valueOf, enumValues: NodeColor.values) + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3340,8 +3483,10 @@ class NodeDesigner extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - NodeDesigner copyWith(void Function(NodeDesigner) updates) => super.copyWith((message) => updates(message as NodeDesigner)) as NodeDesigner; // ignore: deprecated_member_use + NodeDesigner copyWith(void Function(NodeDesigner) updates) => super.copyWith((message) => updates(message as NodeDesigner)) as NodeDesigner; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static NodeDesigner create() => NodeDesigner._(); NodeDesigner createEmptyInstance() => create(); @@ -3390,33 +3535,34 @@ class NodeDesigner extends $pb.GeneratedMessage { } class Port extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Port', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'mizer.nodes'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name') - ..e(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'protocol', $pb.PbFieldType.OE, defaultOrMaker: ChannelProtocol.SINGLE, valueOf: ChannelProtocol.valueOf, enumValues: ChannelProtocol.values) - ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'multiple') - ..hasRequiredFields = false - ; - - Port._() : super(); factory Port({ $core.String? name, ChannelProtocol? protocol, $core.bool? multiple, }) { - final _result = create(); + final $result = create(); if (name != null) { - _result.name = name; + $result.name = name; } if (protocol != null) { - _result.protocol = protocol; + $result.protocol = protocol; } if (multiple != null) { - _result.multiple = multiple; + $result.multiple = multiple; } - return _result; + return $result; } + Port._() : super(); factory Port.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Port.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Port', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..e(2, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.OE, defaultOrMaker: ChannelProtocol.SINGLE, valueOf: ChannelProtocol.valueOf, enumValues: ChannelProtocol.values) + ..aOB(3, _omitFieldNames ? '' : 'multiple') + ..hasRequiredFields = false + ; + @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3426,8 +3572,10 @@ class Port extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - Port copyWith(void Function(Port) updates) => super.copyWith((message) => updates(message as Port)) as Port; // ignore: deprecated_member_use + Port copyWith(void Function(Port) updates) => super.copyWith((message) => updates(message as Port)) as Port; + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') static Port create() => Port._(); Port createEmptyInstance() => create(); @@ -3464,3 +3612,142 @@ class Port extends $pb.GeneratedMessage { void clearMultiple() => clearField(3); } +class NodeCommentArea extends $pb.GeneratedMessage { + factory NodeCommentArea({ + $core.double? width, + $core.double? height, + NodeDesigner? designer, + $core.String? label, + $core.bool? showBackground, + $core.bool? showBorder, + $core.String? parent, + }) { + final $result = create(); + if (width != null) { + $result.width = width; + } + if (height != null) { + $result.height = height; + } + if (designer != null) { + $result.designer = designer; + } + if (label != null) { + $result.label = label; + } + if (showBackground != null) { + $result.showBackground = showBackground; + } + if (showBorder != null) { + $result.showBorder = showBorder; + } + if (parent != null) { + $result.parent = parent; + } + return $result; + } + NodeCommentArea._() : super(); + factory NodeCommentArea.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NodeCommentArea.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeCommentArea', package: const $pb.PackageName(_omitMessageNames ? '' : 'mizer.nodes'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OD) + ..a<$core.double>(2, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OD) + ..aOM(3, _omitFieldNames ? '' : 'designer', subBuilder: NodeDesigner.create) + ..aOS(4, _omitFieldNames ? '' : 'label') + ..aOB(5, _omitFieldNames ? '' : 'showBackground') + ..aOB(6, _omitFieldNames ? '' : 'showBorder') + ..aOS(7, _omitFieldNames ? '' : 'parent') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NodeCommentArea clone() => NodeCommentArea()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NodeCommentArea copyWith(void Function(NodeCommentArea) updates) => super.copyWith((message) => updates(message as NodeCommentArea)) as NodeCommentArea; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NodeCommentArea create() => NodeCommentArea._(); + NodeCommentArea createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NodeCommentArea getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NodeCommentArea? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get width => $_getN(0); + @$pb.TagNumber(1) + set width($core.double v) { $_setDouble(0, v); } + @$pb.TagNumber(1) + $core.bool hasWidth() => $_has(0); + @$pb.TagNumber(1) + void clearWidth() => clearField(1); + + @$pb.TagNumber(2) + $core.double get height => $_getN(1); + @$pb.TagNumber(2) + set height($core.double v) { $_setDouble(1, v); } + @$pb.TagNumber(2) + $core.bool hasHeight() => $_has(1); + @$pb.TagNumber(2) + void clearHeight() => clearField(2); + + @$pb.TagNumber(3) + NodeDesigner get designer => $_getN(2); + @$pb.TagNumber(3) + set designer(NodeDesigner v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasDesigner() => $_has(2); + @$pb.TagNumber(3) + void clearDesigner() => clearField(3); + @$pb.TagNumber(3) + NodeDesigner ensureDesigner() => $_ensure(2); + + @$pb.TagNumber(4) + $core.String get label => $_getSZ(3); + @$pb.TagNumber(4) + set label($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasLabel() => $_has(3); + @$pb.TagNumber(4) + void clearLabel() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get showBackground => $_getBF(4); + @$pb.TagNumber(5) + set showBackground($core.bool v) { $_setBool(4, v); } + @$pb.TagNumber(5) + $core.bool hasShowBackground() => $_has(4); + @$pb.TagNumber(5) + void clearShowBackground() => clearField(5); + + @$pb.TagNumber(6) + $core.bool get showBorder => $_getBF(5); + @$pb.TagNumber(6) + set showBorder($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(6) + $core.bool hasShowBorder() => $_has(5); + @$pb.TagNumber(6) + void clearShowBorder() => clearField(6); + + @$pb.TagNumber(7) + $core.String get parent => $_getSZ(6); + @$pb.TagNumber(7) + set parent($core.String v) { $_setString(6, v); } + @$pb.TagNumber(7) + $core.bool hasParent() => $_has(6); + @$pb.TagNumber(7) + void clearParent() => clearField(7); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/crates/ui/lib/protos/nodes.pbenum.dart b/crates/ui/lib/protos/nodes.pbenum.dart index 7d2387e3b..41f09f1d6 100644 --- a/crates/ui/lib/protos/nodes.pbenum.dart +++ b/crates/ui/lib/protos/nodes.pbenum.dart @@ -1,29 +1,33 @@ -/// +// // Generated code. Do not modify. // source: nodes.proto // // @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name -// ignore_for_file: UNDEFINED_SHOWN_NAME +// 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 + import 'dart:core' as $core; + import 'package:protobuf/protobuf.dart' as $pb; class NodeCategory extends $pb.ProtobufEnum { - static const NodeCategory NODE_CATEGORY_NONE = NodeCategory._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_NONE'); - static const NodeCategory NODE_CATEGORY_STANDARD = NodeCategory._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_STANDARD'); - static const NodeCategory NODE_CATEGORY_CONNECTIONS = NodeCategory._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_CONNECTIONS'); - static const NodeCategory NODE_CATEGORY_CONVERSIONS = NodeCategory._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_CONVERSIONS'); - static const NodeCategory NODE_CATEGORY_CONTROLS = NodeCategory._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_CONTROLS'); - static const NodeCategory NODE_CATEGORY_DATA = NodeCategory._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_DATA'); - static const NodeCategory NODE_CATEGORY_COLOR = NodeCategory._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_COLOR'); - static const NodeCategory NODE_CATEGORY_AUDIO = NodeCategory._(7, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_AUDIO'); - static const NodeCategory NODE_CATEGORY_VIDEO = NodeCategory._(8, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_VIDEO'); - static const NodeCategory NODE_CATEGORY_LASER = NodeCategory._(9, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_LASER'); - static const NodeCategory NODE_CATEGORY_PIXEL = NodeCategory._(10, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_PIXEL'); - static const NodeCategory NODE_CATEGORY_VECTOR = NodeCategory._(11, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_VECTOR'); - static const NodeCategory NODE_CATEGORY_FIXTURES = NodeCategory._(12, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_FIXTURES'); - static const NodeCategory NODE_CATEGORY_UI = NodeCategory._(13, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_CATEGORY_UI'); + static const NodeCategory NODE_CATEGORY_NONE = NodeCategory._(0, _omitEnumNames ? '' : 'NODE_CATEGORY_NONE'); + static const NodeCategory NODE_CATEGORY_STANDARD = NodeCategory._(1, _omitEnumNames ? '' : 'NODE_CATEGORY_STANDARD'); + static const NodeCategory NODE_CATEGORY_CONNECTIONS = NodeCategory._(2, _omitEnumNames ? '' : 'NODE_CATEGORY_CONNECTIONS'); + static const NodeCategory NODE_CATEGORY_CONVERSIONS = NodeCategory._(3, _omitEnumNames ? '' : 'NODE_CATEGORY_CONVERSIONS'); + static const NodeCategory NODE_CATEGORY_CONTROLS = NodeCategory._(4, _omitEnumNames ? '' : 'NODE_CATEGORY_CONTROLS'); + static const NodeCategory NODE_CATEGORY_DATA = NodeCategory._(5, _omitEnumNames ? '' : 'NODE_CATEGORY_DATA'); + static const NodeCategory NODE_CATEGORY_COLOR = NodeCategory._(6, _omitEnumNames ? '' : 'NODE_CATEGORY_COLOR'); + static const NodeCategory NODE_CATEGORY_AUDIO = NodeCategory._(7, _omitEnumNames ? '' : 'NODE_CATEGORY_AUDIO'); + static const NodeCategory NODE_CATEGORY_VIDEO = NodeCategory._(8, _omitEnumNames ? '' : 'NODE_CATEGORY_VIDEO'); + static const NodeCategory NODE_CATEGORY_LASER = NodeCategory._(9, _omitEnumNames ? '' : 'NODE_CATEGORY_LASER'); + static const NodeCategory NODE_CATEGORY_PIXEL = NodeCategory._(10, _omitEnumNames ? '' : 'NODE_CATEGORY_PIXEL'); + static const NodeCategory NODE_CATEGORY_VECTOR = NodeCategory._(11, _omitEnumNames ? '' : 'NODE_CATEGORY_VECTOR'); + static const NodeCategory NODE_CATEGORY_FIXTURES = NodeCategory._(12, _omitEnumNames ? '' : 'NODE_CATEGORY_FIXTURES'); + static const NodeCategory NODE_CATEGORY_UI = NodeCategory._(13, _omitEnumNames ? '' : 'NODE_CATEGORY_UI'); static const $core.List values = [ NODE_CATEGORY_NONE, @@ -49,26 +53,26 @@ class NodeCategory extends $pb.ProtobufEnum { } class NodeColor extends $pb.ProtobufEnum { - static const NodeColor NODE_COLOR_NONE = NodeColor._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_NONE'); - static const NodeColor NODE_COLOR_GREY = NodeColor._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_GREY'); - static const NodeColor NODE_COLOR_RED = NodeColor._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_RED'); - static const NodeColor NODE_COLOR_DEEP_ORANGE = NodeColor._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_DEEP_ORANGE'); - static const NodeColor NODE_COLOR_ORANGE = NodeColor._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_ORANGE'); - static const NodeColor NODE_COLOR_AMBER = NodeColor._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_AMBER'); - static const NodeColor NODE_COLOR_YELLOW = NodeColor._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_YELLOW'); - static const NodeColor NODE_COLOR_LIME = NodeColor._(7, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_LIME'); - static const NodeColor NODE_COLOR_LIGHT_GREEN = NodeColor._(8, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_LIGHT_GREEN'); - static const NodeColor NODE_COLOR_GREEN = NodeColor._(9, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_GREEN'); - static const NodeColor NODE_COLOR_TEAL = NodeColor._(10, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_TEAL'); - static const NodeColor NODE_COLOR_CYAN = NodeColor._(11, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_CYAN'); - static const NodeColor NODE_COLOR_LIGHT_BLUE = NodeColor._(12, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_LIGHT_BLUE'); - static const NodeColor NODE_COLOR_BLUE = NodeColor._(13, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_BLUE'); - static const NodeColor NODE_COLOR_INDIGO = NodeColor._(14, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_INDIGO'); - static const NodeColor NODE_COLOR_PURPLE = NodeColor._(15, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_PURPLE'); - static const NodeColor NODE_COLOR_DEEP_PURPLE = NodeColor._(16, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_DEEP_PURPLE'); - static const NodeColor NODE_COLOR_PINK = NodeColor._(17, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_PINK'); - static const NodeColor NODE_COLOR_BLUE_GREY = NodeColor._(18, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_BLUE_GREY'); - static const NodeColor NODE_COLOR_BROWN = NodeColor._(19, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NODE_COLOR_BROWN'); + static const NodeColor NODE_COLOR_NONE = NodeColor._(0, _omitEnumNames ? '' : 'NODE_COLOR_NONE'); + static const NodeColor NODE_COLOR_GREY = NodeColor._(1, _omitEnumNames ? '' : 'NODE_COLOR_GREY'); + static const NodeColor NODE_COLOR_RED = NodeColor._(2, _omitEnumNames ? '' : 'NODE_COLOR_RED'); + static const NodeColor NODE_COLOR_DEEP_ORANGE = NodeColor._(3, _omitEnumNames ? '' : 'NODE_COLOR_DEEP_ORANGE'); + static const NodeColor NODE_COLOR_ORANGE = NodeColor._(4, _omitEnumNames ? '' : 'NODE_COLOR_ORANGE'); + static const NodeColor NODE_COLOR_AMBER = NodeColor._(5, _omitEnumNames ? '' : 'NODE_COLOR_AMBER'); + static const NodeColor NODE_COLOR_YELLOW = NodeColor._(6, _omitEnumNames ? '' : 'NODE_COLOR_YELLOW'); + static const NodeColor NODE_COLOR_LIME = NodeColor._(7, _omitEnumNames ? '' : 'NODE_COLOR_LIME'); + static const NodeColor NODE_COLOR_LIGHT_GREEN = NodeColor._(8, _omitEnumNames ? '' : 'NODE_COLOR_LIGHT_GREEN'); + static const NodeColor NODE_COLOR_GREEN = NodeColor._(9, _omitEnumNames ? '' : 'NODE_COLOR_GREEN'); + static const NodeColor NODE_COLOR_TEAL = NodeColor._(10, _omitEnumNames ? '' : 'NODE_COLOR_TEAL'); + static const NodeColor NODE_COLOR_CYAN = NodeColor._(11, _omitEnumNames ? '' : 'NODE_COLOR_CYAN'); + static const NodeColor NODE_COLOR_LIGHT_BLUE = NodeColor._(12, _omitEnumNames ? '' : 'NODE_COLOR_LIGHT_BLUE'); + static const NodeColor NODE_COLOR_BLUE = NodeColor._(13, _omitEnumNames ? '' : 'NODE_COLOR_BLUE'); + static const NodeColor NODE_COLOR_INDIGO = NodeColor._(14, _omitEnumNames ? '' : 'NODE_COLOR_INDIGO'); + static const NodeColor NODE_COLOR_PURPLE = NodeColor._(15, _omitEnumNames ? '' : 'NODE_COLOR_PURPLE'); + static const NodeColor NODE_COLOR_DEEP_PURPLE = NodeColor._(16, _omitEnumNames ? '' : 'NODE_COLOR_DEEP_PURPLE'); + static const NodeColor NODE_COLOR_PINK = NodeColor._(17, _omitEnumNames ? '' : 'NODE_COLOR_PINK'); + static const NodeColor NODE_COLOR_BLUE_GREY = NodeColor._(18, _omitEnumNames ? '' : 'NODE_COLOR_BLUE_GREY'); + static const NodeColor NODE_COLOR_BROWN = NodeColor._(19, _omitEnumNames ? '' : 'NODE_COLOR_BROWN'); static const $core.List values = [ NODE_COLOR_NONE, @@ -100,17 +104,17 @@ class NodeColor extends $pb.ProtobufEnum { } class ChannelProtocol extends $pb.ProtobufEnum { - static const ChannelProtocol SINGLE = ChannelProtocol._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'SINGLE'); - static const ChannelProtocol MULTI = ChannelProtocol._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MULTI'); - static const ChannelProtocol TEXTURE = ChannelProtocol._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TEXTURE'); - static const ChannelProtocol VECTOR = ChannelProtocol._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'VECTOR'); - static const ChannelProtocol LASER = ChannelProtocol._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'LASER'); - static const ChannelProtocol POLY = ChannelProtocol._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'POLY'); - static const ChannelProtocol DATA = ChannelProtocol._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DATA'); - static const ChannelProtocol MATERIAL = ChannelProtocol._(7, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MATERIAL'); - static const ChannelProtocol COLOR = ChannelProtocol._(9, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'COLOR'); - static const ChannelProtocol CLOCK = ChannelProtocol._(10, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CLOCK'); - static const ChannelProtocol TEXT = ChannelProtocol._(11, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TEXT'); + static const ChannelProtocol SINGLE = ChannelProtocol._(0, _omitEnumNames ? '' : 'SINGLE'); + static const ChannelProtocol MULTI = ChannelProtocol._(1, _omitEnumNames ? '' : 'MULTI'); + static const ChannelProtocol TEXTURE = ChannelProtocol._(2, _omitEnumNames ? '' : 'TEXTURE'); + static const ChannelProtocol VECTOR = ChannelProtocol._(3, _omitEnumNames ? '' : 'VECTOR'); + static const ChannelProtocol LASER = ChannelProtocol._(4, _omitEnumNames ? '' : 'LASER'); + static const ChannelProtocol POLY = ChannelProtocol._(5, _omitEnumNames ? '' : 'POLY'); + static const ChannelProtocol DATA = ChannelProtocol._(6, _omitEnumNames ? '' : 'DATA'); + static const ChannelProtocol MATERIAL = ChannelProtocol._(7, _omitEnumNames ? '' : 'MATERIAL'); + static const ChannelProtocol COLOR = ChannelProtocol._(9, _omitEnumNames ? '' : 'COLOR'); + static const ChannelProtocol CLOCK = ChannelProtocol._(10, _omitEnumNames ? '' : 'CLOCK'); + static const ChannelProtocol TEXT = ChannelProtocol._(11, _omitEnumNames ? '' : 'TEXT'); static const $core.List values = [ SINGLE, @@ -133,14 +137,14 @@ class ChannelProtocol extends $pb.ProtobufEnum { } class Node_NodePreviewType extends $pb.ProtobufEnum { - static const Node_NodePreviewType NONE = Node_NodePreviewType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NONE'); - static const Node_NodePreviewType HISTORY = Node_NodePreviewType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'HISTORY'); - static const Node_NodePreviewType WAVEFORM = Node_NodePreviewType._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'WAVEFORM'); - static const Node_NodePreviewType MULTIPLE = Node_NodePreviewType._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MULTIPLE'); - static const Node_NodePreviewType TEXTURE = Node_NodePreviewType._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TEXTURE'); - static const Node_NodePreviewType TIMECODE = Node_NodePreviewType._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TIMECODE'); - static const Node_NodePreviewType DATA = Node_NodePreviewType._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DATA'); - static const Node_NodePreviewType COLOR = Node_NodePreviewType._(7, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'COLOR'); + static const Node_NodePreviewType NONE = Node_NodePreviewType._(0, _omitEnumNames ? '' : 'NONE'); + static const Node_NodePreviewType HISTORY = Node_NodePreviewType._(1, _omitEnumNames ? '' : 'HISTORY'); + static const Node_NodePreviewType WAVEFORM = Node_NodePreviewType._(2, _omitEnumNames ? '' : 'WAVEFORM'); + static const Node_NodePreviewType MULTIPLE = Node_NodePreviewType._(3, _omitEnumNames ? '' : 'MULTIPLE'); + static const Node_NodePreviewType TEXTURE = Node_NodePreviewType._(4, _omitEnumNames ? '' : 'TEXTURE'); + static const Node_NodePreviewType TIMECODE = Node_NodePreviewType._(5, _omitEnumNames ? '' : 'TIMECODE'); + static const Node_NodePreviewType DATA = Node_NodePreviewType._(6, _omitEnumNames ? '' : 'DATA'); + static const Node_NodePreviewType COLOR = Node_NodePreviewType._(7, _omitEnumNames ? '' : 'COLOR'); static const $core.List values = [ NONE, @@ -160,8 +164,8 @@ class Node_NodePreviewType extends $pb.ProtobufEnum { } class MidiNodeConfig_NoteBinding_MidiType extends $pb.ProtobufEnum { - static const MidiNodeConfig_NoteBinding_MidiType CC = MidiNodeConfig_NoteBinding_MidiType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CC'); - static const MidiNodeConfig_NoteBinding_MidiType NOTE = MidiNodeConfig_NoteBinding_MidiType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NOTE'); + static const MidiNodeConfig_NoteBinding_MidiType CC = MidiNodeConfig_NoteBinding_MidiType._(0, _omitEnumNames ? '' : 'CC'); + static const MidiNodeConfig_NoteBinding_MidiType NOTE = MidiNodeConfig_NoteBinding_MidiType._(1, _omitEnumNames ? '' : 'NOTE'); static const $core.List values = [ CC, @@ -174,3 +178,5 @@ class MidiNodeConfig_NoteBinding_MidiType extends $pb.ProtobufEnum { const MidiNodeConfig_NoteBinding_MidiType._($core.int v, $core.String n) : super(v, n); } + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/crates/ui/lib/protos/nodes.pbjson.dart b/crates/ui/lib/protos/nodes.pbjson.dart index e37d32e60..729816d24 100644 --- a/crates/ui/lib/protos/nodes.pbjson.dart +++ b/crates/ui/lib/protos/nodes.pbjson.dart @@ -1,674 +1,885 @@ -/// +// // Generated code. Do not modify. // source: nodes.proto // // @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,deprecated_member_use_from_same_package,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name -import 'dart:core' as $core; +// 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 + import 'dart:convert' as $convert; +import 'dart:core' as $core; import 'dart:typed_data' as $typed_data; + @$core.Deprecated('Use nodeCategoryDescriptor instead') -const NodeCategory$json = const { +const NodeCategory$json = { '1': 'NodeCategory', - '2': const [ - const {'1': 'NODE_CATEGORY_NONE', '2': 0}, - const {'1': 'NODE_CATEGORY_STANDARD', '2': 1}, - const {'1': 'NODE_CATEGORY_CONNECTIONS', '2': 2}, - const {'1': 'NODE_CATEGORY_CONVERSIONS', '2': 3}, - const {'1': 'NODE_CATEGORY_CONTROLS', '2': 4}, - const {'1': 'NODE_CATEGORY_DATA', '2': 5}, - const {'1': 'NODE_CATEGORY_COLOR', '2': 6}, - const {'1': 'NODE_CATEGORY_AUDIO', '2': 7}, - const {'1': 'NODE_CATEGORY_VIDEO', '2': 8}, - const {'1': 'NODE_CATEGORY_LASER', '2': 9}, - const {'1': 'NODE_CATEGORY_PIXEL', '2': 10}, - const {'1': 'NODE_CATEGORY_VECTOR', '2': 11}, - const {'1': 'NODE_CATEGORY_FIXTURES', '2': 12}, - const {'1': 'NODE_CATEGORY_UI', '2': 13}, + '2': [ + {'1': 'NODE_CATEGORY_NONE', '2': 0}, + {'1': 'NODE_CATEGORY_STANDARD', '2': 1}, + {'1': 'NODE_CATEGORY_CONNECTIONS', '2': 2}, + {'1': 'NODE_CATEGORY_CONVERSIONS', '2': 3}, + {'1': 'NODE_CATEGORY_CONTROLS', '2': 4}, + {'1': 'NODE_CATEGORY_DATA', '2': 5}, + {'1': 'NODE_CATEGORY_COLOR', '2': 6}, + {'1': 'NODE_CATEGORY_AUDIO', '2': 7}, + {'1': 'NODE_CATEGORY_VIDEO', '2': 8}, + {'1': 'NODE_CATEGORY_LASER', '2': 9}, + {'1': 'NODE_CATEGORY_PIXEL', '2': 10}, + {'1': 'NODE_CATEGORY_VECTOR', '2': 11}, + {'1': 'NODE_CATEGORY_FIXTURES', '2': 12}, + {'1': 'NODE_CATEGORY_UI', '2': 13}, ], }; /// Descriptor for `NodeCategory`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List nodeCategoryDescriptor = $convert.base64Decode('CgxOb2RlQ2F0ZWdvcnkSFgoSTk9ERV9DQVRFR09SWV9OT05FEAASGgoWTk9ERV9DQVRFR09SWV9TVEFOREFSRBABEh0KGU5PREVfQ0FURUdPUllfQ09OTkVDVElPTlMQAhIdChlOT0RFX0NBVEVHT1JZX0NPTlZFUlNJT05TEAMSGgoWTk9ERV9DQVRFR09SWV9DT05UUk9MUxAEEhYKEk5PREVfQ0FURUdPUllfREFUQRAFEhcKE05PREVfQ0FURUdPUllfQ09MT1IQBhIXChNOT0RFX0NBVEVHT1JZX0FVRElPEAcSFwoTTk9ERV9DQVRFR09SWV9WSURFTxAIEhcKE05PREVfQ0FURUdPUllfTEFTRVIQCRIXChNOT0RFX0NBVEVHT1JZX1BJWEVMEAoSGAoUTk9ERV9DQVRFR09SWV9WRUNUT1IQCxIaChZOT0RFX0NBVEVHT1JZX0ZJWFRVUkVTEAwSFAoQTk9ERV9DQVRFR09SWV9VSRAN'); +final $typed_data.Uint8List nodeCategoryDescriptor = $convert.base64Decode( + 'CgxOb2RlQ2F0ZWdvcnkSFgoSTk9ERV9DQVRFR09SWV9OT05FEAASGgoWTk9ERV9DQVRFR09SWV' + '9TVEFOREFSRBABEh0KGU5PREVfQ0FURUdPUllfQ09OTkVDVElPTlMQAhIdChlOT0RFX0NBVEVH' + 'T1JZX0NPTlZFUlNJT05TEAMSGgoWTk9ERV9DQVRFR09SWV9DT05UUk9MUxAEEhYKEk5PREVfQ0' + 'FURUdPUllfREFUQRAFEhcKE05PREVfQ0FURUdPUllfQ09MT1IQBhIXChNOT0RFX0NBVEVHT1JZ' + 'X0FVRElPEAcSFwoTTk9ERV9DQVRFR09SWV9WSURFTxAIEhcKE05PREVfQ0FURUdPUllfTEFTRV' + 'IQCRIXChNOT0RFX0NBVEVHT1JZX1BJWEVMEAoSGAoUTk9ERV9DQVRFR09SWV9WRUNUT1IQCxIa' + 'ChZOT0RFX0NBVEVHT1JZX0ZJWFRVUkVTEAwSFAoQTk9ERV9DQVRFR09SWV9VSRAN'); + @$core.Deprecated('Use nodeColorDescriptor instead') -const NodeColor$json = const { +const NodeColor$json = { '1': 'NodeColor', - '2': const [ - const {'1': 'NODE_COLOR_NONE', '2': 0}, - const {'1': 'NODE_COLOR_GREY', '2': 1}, - const {'1': 'NODE_COLOR_RED', '2': 2}, - const {'1': 'NODE_COLOR_DEEP_ORANGE', '2': 3}, - const {'1': 'NODE_COLOR_ORANGE', '2': 4}, - const {'1': 'NODE_COLOR_AMBER', '2': 5}, - const {'1': 'NODE_COLOR_YELLOW', '2': 6}, - const {'1': 'NODE_COLOR_LIME', '2': 7}, - const {'1': 'NODE_COLOR_LIGHT_GREEN', '2': 8}, - const {'1': 'NODE_COLOR_GREEN', '2': 9}, - const {'1': 'NODE_COLOR_TEAL', '2': 10}, - const {'1': 'NODE_COLOR_CYAN', '2': 11}, - const {'1': 'NODE_COLOR_LIGHT_BLUE', '2': 12}, - const {'1': 'NODE_COLOR_BLUE', '2': 13}, - const {'1': 'NODE_COLOR_INDIGO', '2': 14}, - const {'1': 'NODE_COLOR_PURPLE', '2': 15}, - const {'1': 'NODE_COLOR_DEEP_PURPLE', '2': 16}, - const {'1': 'NODE_COLOR_PINK', '2': 17}, - const {'1': 'NODE_COLOR_BLUE_GREY', '2': 18}, - const {'1': 'NODE_COLOR_BROWN', '2': 19}, + '2': [ + {'1': 'NODE_COLOR_NONE', '2': 0}, + {'1': 'NODE_COLOR_GREY', '2': 1}, + {'1': 'NODE_COLOR_RED', '2': 2}, + {'1': 'NODE_COLOR_DEEP_ORANGE', '2': 3}, + {'1': 'NODE_COLOR_ORANGE', '2': 4}, + {'1': 'NODE_COLOR_AMBER', '2': 5}, + {'1': 'NODE_COLOR_YELLOW', '2': 6}, + {'1': 'NODE_COLOR_LIME', '2': 7}, + {'1': 'NODE_COLOR_LIGHT_GREEN', '2': 8}, + {'1': 'NODE_COLOR_GREEN', '2': 9}, + {'1': 'NODE_COLOR_TEAL', '2': 10}, + {'1': 'NODE_COLOR_CYAN', '2': 11}, + {'1': 'NODE_COLOR_LIGHT_BLUE', '2': 12}, + {'1': 'NODE_COLOR_BLUE', '2': 13}, + {'1': 'NODE_COLOR_INDIGO', '2': 14}, + {'1': 'NODE_COLOR_PURPLE', '2': 15}, + {'1': 'NODE_COLOR_DEEP_PURPLE', '2': 16}, + {'1': 'NODE_COLOR_PINK', '2': 17}, + {'1': 'NODE_COLOR_BLUE_GREY', '2': 18}, + {'1': 'NODE_COLOR_BROWN', '2': 19}, ], }; /// Descriptor for `NodeColor`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List nodeColorDescriptor = $convert.base64Decode('CglOb2RlQ29sb3ISEwoPTk9ERV9DT0xPUl9OT05FEAASEwoPTk9ERV9DT0xPUl9HUkVZEAESEgoOTk9ERV9DT0xPUl9SRUQQAhIaChZOT0RFX0NPTE9SX0RFRVBfT1JBTkdFEAMSFQoRTk9ERV9DT0xPUl9PUkFOR0UQBBIUChBOT0RFX0NPTE9SX0FNQkVSEAUSFQoRTk9ERV9DT0xPUl9ZRUxMT1cQBhITCg9OT0RFX0NPTE9SX0xJTUUQBxIaChZOT0RFX0NPTE9SX0xJR0hUX0dSRUVOEAgSFAoQTk9ERV9DT0xPUl9HUkVFThAJEhMKD05PREVfQ09MT1JfVEVBTBAKEhMKD05PREVfQ09MT1JfQ1lBThALEhkKFU5PREVfQ09MT1JfTElHSFRfQkxVRRAMEhMKD05PREVfQ09MT1JfQkxVRRANEhUKEU5PREVfQ09MT1JfSU5ESUdPEA4SFQoRTk9ERV9DT0xPUl9QVVJQTEUQDxIaChZOT0RFX0NPTE9SX0RFRVBfUFVSUExFEBASEwoPTk9ERV9DT0xPUl9QSU5LEBESGAoUTk9ERV9DT0xPUl9CTFVFX0dSRVkQEhIUChBOT0RFX0NPTE9SX0JST1dOEBM='); +final $typed_data.Uint8List nodeColorDescriptor = $convert.base64Decode( + 'CglOb2RlQ29sb3ISEwoPTk9ERV9DT0xPUl9OT05FEAASEwoPTk9ERV9DT0xPUl9HUkVZEAESEg' + 'oOTk9ERV9DT0xPUl9SRUQQAhIaChZOT0RFX0NPTE9SX0RFRVBfT1JBTkdFEAMSFQoRTk9ERV9D' + 'T0xPUl9PUkFOR0UQBBIUChBOT0RFX0NPTE9SX0FNQkVSEAUSFQoRTk9ERV9DT0xPUl9ZRUxMT1' + 'cQBhITCg9OT0RFX0NPTE9SX0xJTUUQBxIaChZOT0RFX0NPTE9SX0xJR0hUX0dSRUVOEAgSFAoQ' + 'Tk9ERV9DT0xPUl9HUkVFThAJEhMKD05PREVfQ09MT1JfVEVBTBAKEhMKD05PREVfQ09MT1JfQ1' + 'lBThALEhkKFU5PREVfQ09MT1JfTElHSFRfQkxVRRAMEhMKD05PREVfQ09MT1JfQkxVRRANEhUK' + 'EU5PREVfQ09MT1JfSU5ESUdPEA4SFQoRTk9ERV9DT0xPUl9QVVJQTEUQDxIaChZOT0RFX0NPTE' + '9SX0RFRVBfUFVSUExFEBASEwoPTk9ERV9DT0xPUl9QSU5LEBESGAoUTk9ERV9DT0xPUl9CTFVF' + 'X0dSRVkQEhIUChBOT0RFX0NPTE9SX0JST1dOEBM='); + @$core.Deprecated('Use channelProtocolDescriptor instead') -const ChannelProtocol$json = const { +const ChannelProtocol$json = { '1': 'ChannelProtocol', - '2': const [ - const {'1': 'SINGLE', '2': 0}, - const {'1': 'MULTI', '2': 1}, - const {'1': 'TEXTURE', '2': 2}, - const {'1': 'VECTOR', '2': 3}, - const {'1': 'LASER', '2': 4}, - const {'1': 'POLY', '2': 5}, - const {'1': 'DATA', '2': 6}, - const {'1': 'MATERIAL', '2': 7}, - const {'1': 'COLOR', '2': 9}, - const {'1': 'CLOCK', '2': 10}, - const {'1': 'TEXT', '2': 11}, + '2': [ + {'1': 'SINGLE', '2': 0}, + {'1': 'MULTI', '2': 1}, + {'1': 'TEXTURE', '2': 2}, + {'1': 'VECTOR', '2': 3}, + {'1': 'LASER', '2': 4}, + {'1': 'POLY', '2': 5}, + {'1': 'DATA', '2': 6}, + {'1': 'MATERIAL', '2': 7}, + {'1': 'COLOR', '2': 9}, + {'1': 'CLOCK', '2': 10}, + {'1': 'TEXT', '2': 11}, ], }; /// Descriptor for `ChannelProtocol`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List channelProtocolDescriptor = $convert.base64Decode('Cg9DaGFubmVsUHJvdG9jb2wSCgoGU0lOR0xFEAASCQoFTVVMVEkQARILCgdURVhUVVJFEAISCgoGVkVDVE9SEAMSCQoFTEFTRVIQBBIICgRQT0xZEAUSCAoEREFUQRAGEgwKCE1BVEVSSUFMEAcSCQoFQ09MT1IQCRIJCgVDTE9DSxAKEggKBFRFWFQQCw=='); +final $typed_data.Uint8List channelProtocolDescriptor = $convert.base64Decode( + 'Cg9DaGFubmVsUHJvdG9jb2wSCgoGU0lOR0xFEAASCQoFTVVMVEkQARILCgdURVhUVVJFEAISCg' + 'oGVkVDVE9SEAMSCQoFTEFTRVIQBBIICgRQT0xZEAUSCAoEREFUQRAGEgwKCE1BVEVSSUFMEAcS' + 'CQoFQ09MT1IQCRIJCgVDTE9DSxAKEggKBFRFWFQQCw=='); + @$core.Deprecated('Use addNodeRequestDescriptor instead') -const AddNodeRequest$json = const { +const AddNodeRequest$json = { '1': 'AddNodeRequest', - '2': const [ - const {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - const {'1': 'position', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, - const {'1': 'parent', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, - const {'1': 'template', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'template', '17': true}, + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, + {'1': 'position', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, + {'1': 'parent', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, + {'1': 'template', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'template', '17': true}, ], - '8': const [ - const {'1': '_parent'}, - const {'1': '_template'}, + '8': [ + {'1': '_parent'}, + {'1': '_template'}, ], }; /// Descriptor for `AddNodeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addNodeRequestDescriptor = $convert.base64Decode('Cg5BZGROb2RlUmVxdWVzdBISCgR0eXBlGAEgASgJUgR0eXBlEjUKCHBvc2l0aW9uGAIgASgLMhkubWl6ZXIubm9kZXMuTm9kZVBvc2l0aW9uUghwb3NpdGlvbhIbCgZwYXJlbnQYAyABKAlIAFIGcGFyZW50iAEBEh8KCHRlbXBsYXRlGAQgASgJSAFSCHRlbXBsYXRliAEBQgkKB19wYXJlbnRCCwoJX3RlbXBsYXRl'); +final $typed_data.Uint8List addNodeRequestDescriptor = $convert.base64Decode( + 'Cg5BZGROb2RlUmVxdWVzdBISCgR0eXBlGAEgASgJUgR0eXBlEjUKCHBvc2l0aW9uGAIgASgLMh' + 'kubWl6ZXIubm9kZXMuTm9kZVBvc2l0aW9uUghwb3NpdGlvbhIbCgZwYXJlbnQYAyABKAlIAFIG' + 'cGFyZW50iAEBEh8KCHRlbXBsYXRlGAQgASgJSAFSCHRlbXBsYXRliAEBQgkKB19wYXJlbnRCCw' + 'oJX3RlbXBsYXRl'); + @$core.Deprecated('Use duplicateNodesRequestDescriptor instead') -const DuplicateNodesRequest$json = const { +const DuplicateNodesRequest$json = { '1': 'DuplicateNodesRequest', - '2': const [ - const {'1': 'paths', '3': 1, '4': 3, '5': 9, '10': 'paths'}, - const {'1': 'parent', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, + '2': [ + {'1': 'paths', '3': 1, '4': 3, '5': 9, '10': 'paths'}, + {'1': 'parent', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, ], - '8': const [ - const {'1': '_parent'}, + '8': [ + {'1': '_parent'}, ], }; /// Descriptor for `DuplicateNodesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List duplicateNodesRequestDescriptor = $convert.base64Decode('ChVEdXBsaWNhdGVOb2Rlc1JlcXVlc3QSFAoFcGF0aHMYASADKAlSBXBhdGhzEhsKBnBhcmVudBgCIAEoCUgAUgZwYXJlbnSIAQFCCQoHX3BhcmVudA=='); +final $typed_data.Uint8List duplicateNodesRequestDescriptor = $convert.base64Decode( + 'ChVEdXBsaWNhdGVOb2Rlc1JlcXVlc3QSFAoFcGF0aHMYASADKAlSBXBhdGhzEhsKBnBhcmVudB' + 'gCIAEoCUgAUgZwYXJlbnSIAQFCCQoHX3BhcmVudA=='); + @$core.Deprecated('Use disconnectPortRequestDescriptor instead') -const DisconnectPortRequest$json = const { +const DisconnectPortRequest$json = { '1': 'DisconnectPortRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'port', '3': 2, '4': 1, '5': 9, '10': 'port'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'port', '3': 2, '4': 1, '5': 9, '10': 'port'}, ], }; /// Descriptor for `DisconnectPortRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disconnectPortRequestDescriptor = $convert.base64Decode('ChVEaXNjb25uZWN0UG9ydFJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBISCgRwb3J0GAIgASgJUgRwb3J0'); +final $typed_data.Uint8List disconnectPortRequestDescriptor = $convert.base64Decode( + 'ChVEaXNjb25uZWN0UG9ydFJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBISCgRwb3J0GAIgAS' + 'gJUgRwb3J0'); + @$core.Deprecated('Use writeControlDescriptor instead') -const WriteControl$json = const { +const WriteControl$json = { '1': 'WriteControl', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'port', '3': 2, '4': 1, '5': 9, '10': 'port'}, - const {'1': 'value', '3': 3, '4': 1, '5': 1, '10': 'value'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'port', '3': 2, '4': 1, '5': 9, '10': 'port'}, + {'1': 'value', '3': 3, '4': 1, '5': 1, '10': 'value'}, ], }; /// Descriptor for `WriteControl`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List writeControlDescriptor = $convert.base64Decode('CgxXcml0ZUNvbnRyb2wSEgoEcGF0aBgBIAEoCVIEcGF0aBISCgRwb3J0GAIgASgJUgRwb3J0EhQKBXZhbHVlGAMgASgBUgV2YWx1ZQ=='); +final $typed_data.Uint8List writeControlDescriptor = $convert.base64Decode( + 'CgxXcml0ZUNvbnRyb2wSEgoEcGF0aBgBIAEoCVIEcGF0aBISCgRwb3J0GAIgASgJUgRwb3J0Eh' + 'QKBXZhbHVlGAMgASgBUgV2YWx1ZQ=='); + @$core.Deprecated('Use updateNodeSettingRequestDescriptor instead') -const UpdateNodeSettingRequest$json = const { +const UpdateNodeSettingRequest$json = { '1': 'UpdateNodeSettingRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'setting', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting', '10': 'setting'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'setting', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting', '10': 'setting'}, ], }; /// Descriptor for `UpdateNodeSettingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateNodeSettingRequestDescriptor = $convert.base64Decode('ChhVcGRhdGVOb2RlU2V0dGluZ1JlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBIyCgdzZXR0aW5nGAIgASgLMhgubWl6ZXIubm9kZXMuTm9kZVNldHRpbmdSB3NldHRpbmc='); +final $typed_data.Uint8List updateNodeSettingRequestDescriptor = $convert.base64Decode( + 'ChhVcGRhdGVOb2RlU2V0dGluZ1JlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBIyCgdzZXR0aW' + '5nGAIgASgLMhgubWl6ZXIubm9kZXMuTm9kZVNldHRpbmdSB3NldHRpbmc='); + @$core.Deprecated('Use updateNodeColorRequestDescriptor instead') -const UpdateNodeColorRequest$json = const { +const UpdateNodeColorRequest$json = { '1': 'UpdateNodeColorRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'color', '3': 2, '4': 1, '5': 14, '6': '.mizer.nodes.NodeColor', '9': 0, '10': 'color', '17': true}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'color', '3': 2, '4': 1, '5': 14, '6': '.mizer.nodes.NodeColor', '9': 0, '10': 'color', '17': true}, ], - '8': const [ - const {'1': '_color'}, + '8': [ + {'1': '_color'}, ], }; /// Descriptor for `UpdateNodeColorRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateNodeColorRequestDescriptor = $convert.base64Decode('ChZVcGRhdGVOb2RlQ29sb3JSZXF1ZXN0EhIKBHBhdGgYASABKAlSBHBhdGgSMQoFY29sb3IYAiABKA4yFi5taXplci5ub2Rlcy5Ob2RlQ29sb3JIAFIFY29sb3KIAQFCCAoGX2NvbG9y'); +final $typed_data.Uint8List updateNodeColorRequestDescriptor = $convert.base64Decode( + 'ChZVcGRhdGVOb2RlQ29sb3JSZXF1ZXN0EhIKBHBhdGgYASABKAlSBHBhdGgSMQoFY29sb3IYAi' + 'ABKA4yFi5taXplci5ub2Rlcy5Ob2RlQ29sb3JIAFIFY29sb3KIAQFCCAoGX2NvbG9y'); + @$core.Deprecated('Use moveNodesRequestDescriptor instead') -const MoveNodesRequest$json = const { +const MoveNodesRequest$json = { '1': 'MoveNodesRequest', - '2': const [ - const {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.MoveNodeRequest', '10': 'nodes'}, + '2': [ + {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.MoveNodeRequest', '10': 'nodes'}, ], }; /// Descriptor for `MoveNodesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveNodesRequestDescriptor = $convert.base64Decode('ChBNb3ZlTm9kZXNSZXF1ZXN0EjIKBW5vZGVzGAEgAygLMhwubWl6ZXIubm9kZXMuTW92ZU5vZGVSZXF1ZXN0UgVub2Rlcw=='); +final $typed_data.Uint8List moveNodesRequestDescriptor = $convert.base64Decode( + 'ChBNb3ZlTm9kZXNSZXF1ZXN0EjIKBW5vZGVzGAEgAygLMhwubWl6ZXIubm9kZXMuTW92ZU5vZG' + 'VSZXF1ZXN0UgVub2Rlcw=='); + @$core.Deprecated('Use moveNodeRequestDescriptor instead') -const MoveNodeRequest$json = const { +const MoveNodeRequest$json = { '1': 'MoveNodeRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'position', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'position', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, ], }; /// Descriptor for `MoveNodeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveNodeRequestDescriptor = $convert.base64Decode('Cg9Nb3ZlTm9kZVJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBI1Cghwb3NpdGlvbhgCIAEoCzIZLm1pemVyLm5vZGVzLk5vZGVQb3NpdGlvblIIcG9zaXRpb24='); +final $typed_data.Uint8List moveNodeRequestDescriptor = $convert.base64Decode( + 'Cg9Nb3ZlTm9kZVJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBI1Cghwb3NpdGlvbhgCIAEoCz' + 'IZLm1pemVyLm5vZGVzLk5vZGVQb3NpdGlvblIIcG9zaXRpb24='); + @$core.Deprecated('Use showNodeRequestDescriptor instead') -const ShowNodeRequest$json = const { +const ShowNodeRequest$json = { '1': 'ShowNodeRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'position', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, - const {'1': 'parent', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'position', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, + {'1': 'parent', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, ], - '8': const [ - const {'1': '_parent'}, + '8': [ + {'1': '_parent'}, ], }; /// Descriptor for `ShowNodeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List showNodeRequestDescriptor = $convert.base64Decode('Cg9TaG93Tm9kZVJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBI1Cghwb3NpdGlvbhgCIAEoCzIZLm1pemVyLm5vZGVzLk5vZGVQb3NpdGlvblIIcG9zaXRpb24SGwoGcGFyZW50GAMgASgJSABSBnBhcmVudIgBAUIJCgdfcGFyZW50'); +final $typed_data.Uint8List showNodeRequestDescriptor = $convert.base64Decode( + 'Cg9TaG93Tm9kZVJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aBI1Cghwb3NpdGlvbhgCIAEoCz' + 'IZLm1pemVyLm5vZGVzLk5vZGVQb3NpdGlvblIIcG9zaXRpb24SGwoGcGFyZW50GAMgASgJSABS' + 'BnBhcmVudIgBAUIJCgdfcGFyZW50'); + @$core.Deprecated('Use renameNodeRequestDescriptor instead') -const RenameNodeRequest$json = const { +const RenameNodeRequest$json = { '1': 'RenameNodeRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'new_name', '3': 2, '4': 1, '5': 9, '10': 'newName'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'new_name', '3': 2, '4': 1, '5': 9, '10': 'newName'}, ], }; /// Descriptor for `RenameNodeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List renameNodeRequestDescriptor = $convert.base64Decode('ChFSZW5hbWVOb2RlUmVxdWVzdBISCgRwYXRoGAEgASgJUgRwYXRoEhkKCG5ld19uYW1lGAIgASgJUgduZXdOYW1l'); +final $typed_data.Uint8List renameNodeRequestDescriptor = $convert.base64Decode( + 'ChFSZW5hbWVOb2RlUmVxdWVzdBISCgRwYXRoGAEgASgJUgRwYXRoEhkKCG5ld19uYW1lGAIgAS' + 'gJUgduZXdOYW1l'); + @$core.Deprecated('Use groupNodesRequestDescriptor instead') -const GroupNodesRequest$json = const { +const GroupNodesRequest$json = { '1': 'GroupNodesRequest', - '2': const [ - const {'1': 'nodes', '3': 1, '4': 3, '5': 9, '10': 'nodes'}, - const {'1': 'parent', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, + '2': [ + {'1': 'nodes', '3': 1, '4': 3, '5': 9, '10': 'nodes'}, + {'1': 'parent', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'parent', '17': true}, ], - '8': const [ - const {'1': '_parent'}, + '8': [ + {'1': '_parent'}, ], }; /// Descriptor for `GroupNodesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List groupNodesRequestDescriptor = $convert.base64Decode('ChFHcm91cE5vZGVzUmVxdWVzdBIUCgVub2RlcxgBIAMoCVIFbm9kZXMSGwoGcGFyZW50GAIgASgJSABSBnBhcmVudIgBAUIJCgdfcGFyZW50'); +final $typed_data.Uint8List groupNodesRequestDescriptor = $convert.base64Decode( + 'ChFHcm91cE5vZGVzUmVxdWVzdBIUCgVub2RlcxgBIAMoCVIFbm9kZXMSGwoGcGFyZW50GAIgAS' + 'gJSABSBnBhcmVudIgBAUIJCgdfcGFyZW50'); + @$core.Deprecated('Use deleteNodeRequestDescriptor instead') -const DeleteNodeRequest$json = const { +const DeleteNodeRequest$json = { '1': 'DeleteNodeRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, ], }; /// Descriptor for `DeleteNodeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteNodeRequestDescriptor = $convert.base64Decode('ChFEZWxldGVOb2RlUmVxdWVzdBISCgRwYXRoGAEgASgJUgRwYXRo'); +final $typed_data.Uint8List deleteNodeRequestDescriptor = $convert.base64Decode( + 'ChFEZWxldGVOb2RlUmVxdWVzdBISCgRwYXRoGAEgASgJUgRwYXRo'); + @$core.Deprecated('Use hideNodeRequestDescriptor instead') -const HideNodeRequest$json = const { +const HideNodeRequest$json = { '1': 'HideNodeRequest', - '2': const [ - const {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, ], }; /// Descriptor for `HideNodeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List hideNodeRequestDescriptor = $convert.base64Decode('Cg9IaWRlTm9kZVJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aA=='); +final $typed_data.Uint8List hideNodeRequestDescriptor = $convert.base64Decode( + 'Cg9IaWRlTm9kZVJlcXVlc3QSEgoEcGF0aBgBIAEoCVIEcGF0aA=='); + @$core.Deprecated('Use nodesDescriptor instead') -const Nodes$json = const { +const Nodes$json = { '1': 'Nodes', - '2': const [ - const {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.Node', '10': 'nodes'}, - const {'1': 'channels', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeConnection', '10': 'channels'}, - const {'1': 'all_nodes', '3': 3, '4': 3, '5': 11, '6': '.mizer.nodes.Node', '10': 'allNodes'}, + '2': [ + {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.Node', '10': 'nodes'}, + {'1': 'channels', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeConnection', '10': 'channels'}, + {'1': 'all_nodes', '3': 3, '4': 3, '5': 11, '6': '.mizer.nodes.Node', '10': 'allNodes'}, + {'1': 'comments', '3': 4, '4': 3, '5': 11, '6': '.mizer.nodes.NodeCommentArea', '10': 'comments'}, ], }; /// Descriptor for `Nodes`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodesDescriptor = $convert.base64Decode('CgVOb2RlcxInCgVub2RlcxgBIAMoCzIRLm1pemVyLm5vZGVzLk5vZGVSBW5vZGVzEjcKCGNoYW5uZWxzGAIgAygLMhsubWl6ZXIubm9kZXMuTm9kZUNvbm5lY3Rpb25SCGNoYW5uZWxzEi4KCWFsbF9ub2RlcxgDIAMoCzIRLm1pemVyLm5vZGVzLk5vZGVSCGFsbE5vZGVz'); +final $typed_data.Uint8List nodesDescriptor = $convert.base64Decode( + 'CgVOb2RlcxInCgVub2RlcxgBIAMoCzIRLm1pemVyLm5vZGVzLk5vZGVSBW5vZGVzEjcKCGNoYW' + '5uZWxzGAIgAygLMhsubWl6ZXIubm9kZXMuTm9kZUNvbm5lY3Rpb25SCGNoYW5uZWxzEi4KCWFs' + 'bF9ub2RlcxgDIAMoCzIRLm1pemVyLm5vZGVzLk5vZGVSCGFsbE5vZGVzEjgKCGNvbW1lbnRzGA' + 'QgAygLMhwubWl6ZXIubm9kZXMuTm9kZUNvbW1lbnRBcmVhUghjb21tZW50cw=='); + @$core.Deprecated('Use availableNodesDescriptor instead') -const AvailableNodes$json = const { +const AvailableNodes$json = { '1': 'AvailableNodes', - '2': const [ - const {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.AvailableNode', '10': 'nodes'}, + '2': [ + {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.AvailableNode', '10': 'nodes'}, ], }; /// Descriptor for `AvailableNodes`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List availableNodesDescriptor = $convert.base64Decode('Cg5BdmFpbGFibGVOb2RlcxIwCgVub2RlcxgBIAMoCzIaLm1pemVyLm5vZGVzLkF2YWlsYWJsZU5vZGVSBW5vZGVz'); +final $typed_data.Uint8List availableNodesDescriptor = $convert.base64Decode( + 'Cg5BdmFpbGFibGVOb2RlcxIwCgVub2RlcxgBIAMoCzIaLm1pemVyLm5vZGVzLkF2YWlsYWJsZU' + '5vZGVSBW5vZGVz'); + @$core.Deprecated('Use availableNodeDescriptor instead') -const AvailableNode$json = const { +const AvailableNode$json = { '1': 'AvailableNode', - '2': const [ - const {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - const {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - const {'1': 'category', '3': 3, '4': 1, '5': 14, '6': '.mizer.nodes.NodeCategory', '10': 'category'}, - const {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, - const {'1': 'settings', '3': 5, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSettingDescription', '10': 'settings'}, - const {'1': 'templates', '3': 6, '4': 3, '5': 11, '6': '.mizer.nodes.NodeTemplate', '10': 'templates'}, + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'category', '3': 3, '4': 1, '5': 14, '6': '.mizer.nodes.NodeCategory', '10': 'category'}, + {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, + {'1': 'settings', '3': 5, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSettingDescription', '10': 'settings'}, + {'1': 'templates', '3': 6, '4': 3, '5': 11, '6': '.mizer.nodes.NodeTemplate', '10': 'templates'}, ], }; /// Descriptor for `AvailableNode`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List availableNodeDescriptor = $convert.base64Decode('Cg1BdmFpbGFibGVOb2RlEhIKBHR5cGUYASABKAlSBHR5cGUSEgoEbmFtZRgCIAEoCVIEbmFtZRI1CghjYXRlZ29yeRgDIAEoDjIZLm1pemVyLm5vZGVzLk5vZGVDYXRlZ29yeVIIY2F0ZWdvcnkSIAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9uEj8KCHNldHRpbmdzGAUgAygLMiMubWl6ZXIubm9kZXMuTm9kZVNldHRpbmdEZXNjcmlwdGlvblIIc2V0dGluZ3MSNwoJdGVtcGxhdGVzGAYgAygLMhkubWl6ZXIubm9kZXMuTm9kZVRlbXBsYXRlUgl0ZW1wbGF0ZXM='); +final $typed_data.Uint8List availableNodeDescriptor = $convert.base64Decode( + 'Cg1BdmFpbGFibGVOb2RlEhIKBHR5cGUYASABKAlSBHR5cGUSEgoEbmFtZRgCIAEoCVIEbmFtZR' + 'I1CghjYXRlZ29yeRgDIAEoDjIZLm1pemVyLm5vZGVzLk5vZGVDYXRlZ29yeVIIY2F0ZWdvcnkS' + 'IAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9uEj8KCHNldHRpbmdzGAUgAygLMiMubW' + 'l6ZXIubm9kZXMuTm9kZVNldHRpbmdEZXNjcmlwdGlvblIIc2V0dGluZ3MSNwoJdGVtcGxhdGVz' + 'GAYgAygLMhkubWl6ZXIubm9kZXMuTm9kZVRlbXBsYXRlUgl0ZW1wbGF0ZXM='); + @$core.Deprecated('Use nodeSettingDescriptionDescriptor instead') -const NodeSettingDescription$json = const { +const NodeSettingDescription$json = { '1': 'NodeSettingDescription', - '2': const [ - const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - const {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, ], }; /// Descriptor for `NodeSettingDescription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeSettingDescriptionDescriptor = $convert.base64Decode('ChZOb2RlU2V0dGluZ0Rlc2NyaXB0aW9uEhIKBG5hbWUYASABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAiABKAlSC2Rlc2NyaXB0aW9u'); +final $typed_data.Uint8List nodeSettingDescriptionDescriptor = $convert.base64Decode( + 'ChZOb2RlU2V0dGluZ0Rlc2NyaXB0aW9uEhIKBG5hbWUYASABKAlSBG5hbWUSIAoLZGVzY3JpcH' + 'Rpb24YAiABKAlSC2Rlc2NyaXB0aW9u'); + @$core.Deprecated('Use nodeTemplateDescriptor instead') -const NodeTemplate$json = const { +const NodeTemplate$json = { '1': 'NodeTemplate', - '2': const [ - const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - const {'1': 'description', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'description', '17': true}, + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'description', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'description', '17': true}, ], - '8': const [ - const {'1': '_description'}, + '8': [ + {'1': '_description'}, ], }; /// Descriptor for `NodeTemplate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeTemplateDescriptor = $convert.base64Decode('CgxOb2RlVGVtcGxhdGUSEgoEbmFtZRgBIAEoCVIEbmFtZRIlCgtkZXNjcmlwdGlvbhgDIAEoCUgAUgtkZXNjcmlwdGlvbogBAUIOCgxfZGVzY3JpcHRpb24='); +final $typed_data.Uint8List nodeTemplateDescriptor = $convert.base64Decode( + 'CgxOb2RlVGVtcGxhdGUSEgoEbmFtZRgBIAEoCVIEbmFtZRIlCgtkZXNjcmlwdGlvbhgDIAEoCU' + 'gAUgtkZXNjcmlwdGlvbogBAUIOCgxfZGVzY3JpcHRpb24='); + @$core.Deprecated('Use nodeConnectionDescriptor instead') -const NodeConnection$json = const { +const NodeConnection$json = { '1': 'NodeConnection', - '2': const [ - const {'1': 'target_node', '3': 1, '4': 1, '5': 9, '10': 'targetNode'}, - const {'1': 'target_port', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.Port', '10': 'targetPort'}, - const {'1': 'source_node', '3': 3, '4': 1, '5': 9, '10': 'sourceNode'}, - const {'1': 'source_port', '3': 4, '4': 1, '5': 11, '6': '.mizer.nodes.Port', '10': 'sourcePort'}, - const {'1': 'protocol', '3': 5, '4': 1, '5': 14, '6': '.mizer.nodes.ChannelProtocol', '10': 'protocol'}, + '2': [ + {'1': 'target_node', '3': 1, '4': 1, '5': 9, '10': 'targetNode'}, + {'1': 'target_port', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.Port', '10': 'targetPort'}, + {'1': 'source_node', '3': 3, '4': 1, '5': 9, '10': 'sourceNode'}, + {'1': 'source_port', '3': 4, '4': 1, '5': 11, '6': '.mizer.nodes.Port', '10': 'sourcePort'}, + {'1': 'protocol', '3': 5, '4': 1, '5': 14, '6': '.mizer.nodes.ChannelProtocol', '10': 'protocol'}, ], }; /// Descriptor for `NodeConnection`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeConnectionDescriptor = $convert.base64Decode('Cg5Ob2RlQ29ubmVjdGlvbhIfCgt0YXJnZXRfbm9kZRgBIAEoCVIKdGFyZ2V0Tm9kZRIyCgt0YXJnZXRfcG9ydBgCIAEoCzIRLm1pemVyLm5vZGVzLlBvcnRSCnRhcmdldFBvcnQSHwoLc291cmNlX25vZGUYAyABKAlSCnNvdXJjZU5vZGUSMgoLc291cmNlX3BvcnQYBCABKAsyES5taXplci5ub2Rlcy5Qb3J0Ugpzb3VyY2VQb3J0EjgKCHByb3RvY29sGAUgASgOMhwubWl6ZXIubm9kZXMuQ2hhbm5lbFByb3RvY29sUghwcm90b2NvbA=='); +final $typed_data.Uint8List nodeConnectionDescriptor = $convert.base64Decode( + 'Cg5Ob2RlQ29ubmVjdGlvbhIfCgt0YXJnZXRfbm9kZRgBIAEoCVIKdGFyZ2V0Tm9kZRIyCgt0YX' + 'JnZXRfcG9ydBgCIAEoCzIRLm1pemVyLm5vZGVzLlBvcnRSCnRhcmdldFBvcnQSHwoLc291cmNl' + 'X25vZGUYAyABKAlSCnNvdXJjZU5vZGUSMgoLc291cmNlX3BvcnQYBCABKAsyES5taXplci5ub2' + 'Rlcy5Qb3J0Ugpzb3VyY2VQb3J0EjgKCHByb3RvY29sGAUgASgOMhwubWl6ZXIubm9kZXMuQ2hh' + 'bm5lbFByb3RvY29sUghwcm90b2NvbA=='); + @$core.Deprecated('Use nodeDescriptor instead') -const Node$json = const { +const Node$json = { '1': 'Node', - '2': const [ - const {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - const {'1': 'path', '3': 2, '4': 1, '5': 9, '10': 'path'}, - const {'1': 'inputs', '3': 3, '4': 3, '5': 11, '6': '.mizer.nodes.Port', '10': 'inputs'}, - const {'1': 'outputs', '3': 4, '4': 3, '5': 11, '6': '.mizer.nodes.Port', '10': 'outputs'}, - const {'1': 'designer', '3': 5, '4': 1, '5': 11, '6': '.mizer.nodes.NodeDesigner', '10': 'designer'}, - const {'1': 'preview', '3': 6, '4': 1, '5': 14, '6': '.mizer.nodes.Node.NodePreviewType', '10': 'preview'}, - const {'1': 'settings', '3': 7, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting', '10': 'settings'}, - const {'1': 'details', '3': 8, '4': 1, '5': 11, '6': '.mizer.nodes.NodeDetails', '10': 'details'}, - const {'1': 'children', '3': 9, '4': 3, '5': 11, '6': '.mizer.nodes.Node', '10': 'children'}, + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, + {'1': 'path', '3': 2, '4': 1, '5': 9, '10': 'path'}, + {'1': 'inputs', '3': 3, '4': 3, '5': 11, '6': '.mizer.nodes.Port', '10': 'inputs'}, + {'1': 'outputs', '3': 4, '4': 3, '5': 11, '6': '.mizer.nodes.Port', '10': 'outputs'}, + {'1': 'designer', '3': 5, '4': 1, '5': 11, '6': '.mizer.nodes.NodeDesigner', '10': 'designer'}, + {'1': 'preview', '3': 6, '4': 1, '5': 14, '6': '.mizer.nodes.Node.NodePreviewType', '10': 'preview'}, + {'1': 'settings', '3': 7, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting', '10': 'settings'}, + {'1': 'details', '3': 8, '4': 1, '5': 11, '6': '.mizer.nodes.NodeDetails', '10': 'details'}, + {'1': 'children', '3': 9, '4': 3, '5': 11, '6': '.mizer.nodes.Node', '10': 'children'}, ], - '4': const [Node_NodePreviewType$json], + '4': [Node_NodePreviewType$json], }; @$core.Deprecated('Use nodeDescriptor instead') -const Node_NodePreviewType$json = const { +const Node_NodePreviewType$json = { '1': 'NodePreviewType', - '2': const [ - const {'1': 'NONE', '2': 0}, - const {'1': 'HISTORY', '2': 1}, - const {'1': 'WAVEFORM', '2': 2}, - const {'1': 'MULTIPLE', '2': 3}, - const {'1': 'TEXTURE', '2': 4}, - const {'1': 'TIMECODE', '2': 5}, - const {'1': 'DATA', '2': 6}, - const {'1': 'COLOR', '2': 7}, + '2': [ + {'1': 'NONE', '2': 0}, + {'1': 'HISTORY', '2': 1}, + {'1': 'WAVEFORM', '2': 2}, + {'1': 'MULTIPLE', '2': 3}, + {'1': 'TEXTURE', '2': 4}, + {'1': 'TIMECODE', '2': 5}, + {'1': 'DATA', '2': 6}, + {'1': 'COLOR', '2': 7}, ], }; /// Descriptor for `Node`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeDescriptor = $convert.base64Decode('CgROb2RlEhIKBHR5cGUYASABKAlSBHR5cGUSEgoEcGF0aBgCIAEoCVIEcGF0aBIpCgZpbnB1dHMYAyADKAsyES5taXplci5ub2Rlcy5Qb3J0UgZpbnB1dHMSKwoHb3V0cHV0cxgEIAMoCzIRLm1pemVyLm5vZGVzLlBvcnRSB291dHB1dHMSNQoIZGVzaWduZXIYBSABKAsyGS5taXplci5ub2Rlcy5Ob2RlRGVzaWduZXJSCGRlc2lnbmVyEjsKB3ByZXZpZXcYBiABKA4yIS5taXplci5ub2Rlcy5Ob2RlLk5vZGVQcmV2aWV3VHlwZVIHcHJldmlldxI0CghzZXR0aW5ncxgHIAMoCzIYLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nUghzZXR0aW5ncxIyCgdkZXRhaWxzGAggASgLMhgubWl6ZXIubm9kZXMuTm9kZURldGFpbHNSB2RldGFpbHMSLQoIY2hpbGRyZW4YCSADKAsyES5taXplci5ub2Rlcy5Ob2RlUghjaGlsZHJlbiJ0Cg9Ob2RlUHJldmlld1R5cGUSCAoETk9ORRAAEgsKB0hJU1RPUlkQARIMCghXQVZFRk9STRACEgwKCE1VTFRJUExFEAMSCwoHVEVYVFVSRRAEEgwKCFRJTUVDT0RFEAUSCAoEREFUQRAGEgkKBUNPTE9SEAc='); +final $typed_data.Uint8List nodeDescriptor = $convert.base64Decode( + 'CgROb2RlEhIKBHR5cGUYASABKAlSBHR5cGUSEgoEcGF0aBgCIAEoCVIEcGF0aBIpCgZpbnB1dH' + 'MYAyADKAsyES5taXplci5ub2Rlcy5Qb3J0UgZpbnB1dHMSKwoHb3V0cHV0cxgEIAMoCzIRLm1p' + 'emVyLm5vZGVzLlBvcnRSB291dHB1dHMSNQoIZGVzaWduZXIYBSABKAsyGS5taXplci5ub2Rlcy' + '5Ob2RlRGVzaWduZXJSCGRlc2lnbmVyEjsKB3ByZXZpZXcYBiABKA4yIS5taXplci5ub2Rlcy5O' + 'b2RlLk5vZGVQcmV2aWV3VHlwZVIHcHJldmlldxI0CghzZXR0aW5ncxgHIAMoCzIYLm1pemVyLm' + '5vZGVzLk5vZGVTZXR0aW5nUghzZXR0aW5ncxIyCgdkZXRhaWxzGAggASgLMhgubWl6ZXIubm9k' + 'ZXMuTm9kZURldGFpbHNSB2RldGFpbHMSLQoIY2hpbGRyZW4YCSADKAsyES5taXplci5ub2Rlcy' + '5Ob2RlUghjaGlsZHJlbiJ0Cg9Ob2RlUHJldmlld1R5cGUSCAoETk9ORRAAEgsKB0hJU1RPUlkQ' + 'ARIMCghXQVZFRk9STRACEgwKCE1VTFRJUExFEAMSCwoHVEVYVFVSRRAEEgwKCFRJTUVDT0RFEA' + 'USCAoEREFUQRAGEgkKBUNPTE9SEAc='); + @$core.Deprecated('Use nodeDetailsDescriptor instead') -const NodeDetails$json = const { +const NodeDetails$json = { '1': 'NodeDetails', - '2': const [ - const {'1': 'node_type_name', '3': 1, '4': 1, '5': 9, '10': 'nodeTypeName'}, - const {'1': 'display_name', '3': 2, '4': 1, '5': 9, '10': 'displayName'}, - const {'1': 'has_custom_name', '3': 3, '4': 1, '5': 8, '10': 'hasCustomName'}, - const {'1': 'category', '3': 4, '4': 1, '5': 14, '6': '.mizer.nodes.NodeCategory', '10': 'category'}, + '2': [ + {'1': 'node_type_name', '3': 1, '4': 1, '5': 9, '10': 'nodeTypeName'}, + {'1': 'display_name', '3': 2, '4': 1, '5': 9, '10': 'displayName'}, + {'1': 'has_custom_name', '3': 3, '4': 1, '5': 8, '10': 'hasCustomName'}, + {'1': 'category', '3': 4, '4': 1, '5': 14, '6': '.mizer.nodes.NodeCategory', '10': 'category'}, ], }; /// Descriptor for `NodeDetails`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeDetailsDescriptor = $convert.base64Decode('CgtOb2RlRGV0YWlscxIkCg5ub2RlX3R5cGVfbmFtZRgBIAEoCVIMbm9kZVR5cGVOYW1lEiEKDGRpc3BsYXlfbmFtZRgCIAEoCVILZGlzcGxheU5hbWUSJgoPaGFzX2N1c3RvbV9uYW1lGAMgASgIUg1oYXNDdXN0b21OYW1lEjUKCGNhdGVnb3J5GAQgASgOMhkubWl6ZXIubm9kZXMuTm9kZUNhdGVnb3J5UghjYXRlZ29yeQ=='); +final $typed_data.Uint8List nodeDetailsDescriptor = $convert.base64Decode( + 'CgtOb2RlRGV0YWlscxIkCg5ub2RlX3R5cGVfbmFtZRgBIAEoCVIMbm9kZVR5cGVOYW1lEiEKDG' + 'Rpc3BsYXlfbmFtZRgCIAEoCVILZGlzcGxheU5hbWUSJgoPaGFzX2N1c3RvbV9uYW1lGAMgASgI' + 'Ug1oYXNDdXN0b21OYW1lEjUKCGNhdGVnb3J5GAQgASgOMhkubWl6ZXIubm9kZXMuTm9kZUNhdG' + 'Vnb3J5UghjYXRlZ29yeQ=='); + @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting$json = const { +const NodeSetting$json = { '1': 'NodeSetting', - '2': const [ - const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - const {'1': 'label', '3': 2, '4': 1, '5': 9, '9': 1, '10': 'label', '17': true}, - const {'1': 'category', '3': 3, '4': 1, '5': 9, '9': 2, '10': 'category', '17': true}, - const {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, - const {'1': 'disabled', '3': 5, '4': 1, '5': 8, '10': 'disabled'}, - const {'1': 'text_value', '3': 6, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.TextValue', '9': 0, '10': 'textValue'}, - const {'1': 'float_value', '3': 7, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.FloatValue', '9': 0, '10': 'floatValue'}, - const {'1': 'int_value', '3': 8, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.IntValue', '9': 0, '10': 'intValue'}, - const {'1': 'bool_value', '3': 9, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.BoolValue', '9': 0, '10': 'boolValue'}, - const {'1': 'select_value', '3': 10, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectValue', '9': 0, '10': 'selectValue'}, - const {'1': 'enum_value', '3': 11, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.EnumValue', '9': 0, '10': 'enumValue'}, - const {'1': 'id_value', '3': 12, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.IdValue', '9': 0, '10': 'idValue'}, - const {'1': 'spline_value', '3': 13, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SplineValue', '9': 0, '10': 'splineValue'}, - const {'1': 'media_value', '3': 14, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.MediaValue', '9': 0, '10': 'mediaValue'}, - const {'1': 'uint_value', '3': 15, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.UintValue', '9': 0, '10': 'uintValue'}, - const {'1': 'step_sequencer_value', '3': 16, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.StepSequencerValue', '9': 0, '10': 'stepSequencerValue'}, - ], - '3': const [NodeSetting_TextValue$json, NodeSetting_FloatValue$json, NodeSetting_IntValue$json, NodeSetting_UintValue$json, NodeSetting_BoolValue$json, NodeSetting_SelectValue$json, NodeSetting_SelectVariant$json, NodeSetting_EnumValue$json, NodeSetting_EnumVariant$json, NodeSetting_IdValue$json, NodeSetting_IdVariant$json, NodeSetting_SplineValue$json, NodeSetting_MediaValue$json, NodeSetting_StepSequencerValue$json], - '8': const [ - const {'1': 'value'}, - const {'1': '_label'}, - const {'1': '_category'}, + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + {'1': 'label', '3': 2, '4': 1, '5': 9, '9': 1, '10': 'label', '17': true}, + {'1': 'category', '3': 3, '4': 1, '5': 9, '9': 2, '10': 'category', '17': true}, + {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, + {'1': 'disabled', '3': 5, '4': 1, '5': 8, '10': 'disabled'}, + {'1': 'text_value', '3': 6, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.TextValue', '9': 0, '10': 'textValue'}, + {'1': 'float_value', '3': 7, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.FloatValue', '9': 0, '10': 'floatValue'}, + {'1': 'int_value', '3': 8, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.IntValue', '9': 0, '10': 'intValue'}, + {'1': 'bool_value', '3': 9, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.BoolValue', '9': 0, '10': 'boolValue'}, + {'1': 'select_value', '3': 10, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectValue', '9': 0, '10': 'selectValue'}, + {'1': 'enum_value', '3': 11, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.EnumValue', '9': 0, '10': 'enumValue'}, + {'1': 'id_value', '3': 12, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.IdValue', '9': 0, '10': 'idValue'}, + {'1': 'spline_value', '3': 13, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SplineValue', '9': 0, '10': 'splineValue'}, + {'1': 'media_value', '3': 14, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.MediaValue', '9': 0, '10': 'mediaValue'}, + {'1': 'uint_value', '3': 15, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.UintValue', '9': 0, '10': 'uintValue'}, + {'1': 'step_sequencer_value', '3': 16, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.StepSequencerValue', '9': 0, '10': 'stepSequencerValue'}, + ], + '3': [NodeSetting_TextValue$json, NodeSetting_FloatValue$json, NodeSetting_IntValue$json, NodeSetting_UintValue$json, NodeSetting_BoolValue$json, NodeSetting_SelectValue$json, NodeSetting_SelectVariant$json, NodeSetting_EnumValue$json, NodeSetting_EnumVariant$json, NodeSetting_IdValue$json, NodeSetting_IdVariant$json, NodeSetting_SplineValue$json, NodeSetting_MediaValue$json, NodeSetting_StepSequencerValue$json], + '8': [ + {'1': 'value'}, + {'1': '_label'}, + {'1': '_category'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_TextValue$json = const { +const NodeSetting_TextValue$json = { '1': 'TextValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, - const {'1': 'multiline', '3': 2, '4': 1, '5': 8, '10': 'multiline'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, + {'1': 'multiline', '3': 2, '4': 1, '5': 8, '10': 'multiline'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_FloatValue$json = const { +const NodeSetting_FloatValue$json = { '1': 'FloatValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 1, '10': 'value'}, - const {'1': 'min', '3': 2, '4': 1, '5': 1, '9': 0, '10': 'min', '17': true}, - const {'1': 'min_hint', '3': 3, '4': 1, '5': 1, '9': 1, '10': 'minHint', '17': true}, - const {'1': 'max', '3': 4, '4': 1, '5': 1, '9': 2, '10': 'max', '17': true}, - const {'1': 'max_hint', '3': 5, '4': 1, '5': 1, '9': 3, '10': 'maxHint', '17': true}, - const {'1': 'step_size', '3': 6, '4': 1, '5': 1, '9': 4, '10': 'stepSize', '17': true}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 1, '10': 'value'}, + {'1': 'min', '3': 2, '4': 1, '5': 1, '9': 0, '10': 'min', '17': true}, + {'1': 'min_hint', '3': 3, '4': 1, '5': 1, '9': 1, '10': 'minHint', '17': true}, + {'1': 'max', '3': 4, '4': 1, '5': 1, '9': 2, '10': 'max', '17': true}, + {'1': 'max_hint', '3': 5, '4': 1, '5': 1, '9': 3, '10': 'maxHint', '17': true}, + {'1': 'step_size', '3': 6, '4': 1, '5': 1, '9': 4, '10': 'stepSize', '17': true}, ], - '8': const [ - const {'1': '_min'}, - const {'1': '_min_hint'}, - const {'1': '_max'}, - const {'1': '_max_hint'}, - const {'1': '_step_size'}, + '8': [ + {'1': '_min'}, + {'1': '_min_hint'}, + {'1': '_max'}, + {'1': '_max_hint'}, + {'1': '_step_size'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_IntValue$json = const { +const NodeSetting_IntValue$json = { '1': 'IntValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 5, '10': 'value'}, - const {'1': 'min', '3': 2, '4': 1, '5': 5, '9': 0, '10': 'min', '17': true}, - const {'1': 'min_hint', '3': 3, '4': 1, '5': 5, '9': 1, '10': 'minHint', '17': true}, - const {'1': 'max', '3': 4, '4': 1, '5': 5, '9': 2, '10': 'max', '17': true}, - const {'1': 'max_hint', '3': 5, '4': 1, '5': 5, '9': 3, '10': 'maxHint', '17': true}, - const {'1': 'step_size', '3': 6, '4': 1, '5': 5, '9': 4, '10': 'stepSize', '17': true}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 5, '10': 'value'}, + {'1': 'min', '3': 2, '4': 1, '5': 5, '9': 0, '10': 'min', '17': true}, + {'1': 'min_hint', '3': 3, '4': 1, '5': 5, '9': 1, '10': 'minHint', '17': true}, + {'1': 'max', '3': 4, '4': 1, '5': 5, '9': 2, '10': 'max', '17': true}, + {'1': 'max_hint', '3': 5, '4': 1, '5': 5, '9': 3, '10': 'maxHint', '17': true}, + {'1': 'step_size', '3': 6, '4': 1, '5': 5, '9': 4, '10': 'stepSize', '17': true}, ], - '8': const [ - const {'1': '_min'}, - const {'1': '_min_hint'}, - const {'1': '_max'}, - const {'1': '_max_hint'}, - const {'1': '_step_size'}, + '8': [ + {'1': '_min'}, + {'1': '_min_hint'}, + {'1': '_max'}, + {'1': '_max_hint'}, + {'1': '_step_size'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_UintValue$json = const { +const NodeSetting_UintValue$json = { '1': 'UintValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, - const {'1': 'min', '3': 2, '4': 1, '5': 13, '9': 0, '10': 'min', '17': true}, - const {'1': 'min_hint', '3': 3, '4': 1, '5': 13, '9': 1, '10': 'minHint', '17': true}, - const {'1': 'max', '3': 4, '4': 1, '5': 13, '9': 2, '10': 'max', '17': true}, - const {'1': 'max_hint', '3': 5, '4': 1, '5': 13, '9': 3, '10': 'maxHint', '17': true}, - const {'1': 'step_size', '3': 6, '4': 1, '5': 13, '9': 4, '10': 'stepSize', '17': true}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, + {'1': 'min', '3': 2, '4': 1, '5': 13, '9': 0, '10': 'min', '17': true}, + {'1': 'min_hint', '3': 3, '4': 1, '5': 13, '9': 1, '10': 'minHint', '17': true}, + {'1': 'max', '3': 4, '4': 1, '5': 13, '9': 2, '10': 'max', '17': true}, + {'1': 'max_hint', '3': 5, '4': 1, '5': 13, '9': 3, '10': 'maxHint', '17': true}, + {'1': 'step_size', '3': 6, '4': 1, '5': 13, '9': 4, '10': 'stepSize', '17': true}, ], - '8': const [ - const {'1': '_min'}, - const {'1': '_min_hint'}, - const {'1': '_max'}, - const {'1': '_max_hint'}, - const {'1': '_step_size'}, + '8': [ + {'1': '_min'}, + {'1': '_min_hint'}, + {'1': '_max'}, + {'1': '_max_hint'}, + {'1': '_step_size'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_BoolValue$json = const { +const NodeSetting_BoolValue$json = { '1': 'BoolValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 8, '10': 'value'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 8, '10': 'value'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_SelectValue$json = const { +const NodeSetting_SelectValue$json = { '1': 'SelectValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, - const {'1': 'variants', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant', '10': 'variants'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, + {'1': 'variants', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant', '10': 'variants'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_SelectVariant$json = const { +const NodeSetting_SelectVariant$json = { '1': 'SelectVariant', - '2': const [ - const {'1': 'group', '3': 1, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant.SelectGroup', '9': 0, '10': 'group'}, - const {'1': 'item', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant.SelectItem', '9': 0, '10': 'item'}, + '2': [ + {'1': 'group', '3': 1, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant.SelectGroup', '9': 0, '10': 'group'}, + {'1': 'item', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant.SelectItem', '9': 0, '10': 'item'}, ], - '3': const [NodeSetting_SelectVariant_SelectGroup$json, NodeSetting_SelectVariant_SelectItem$json], - '8': const [ - const {'1': 'variant'}, + '3': [NodeSetting_SelectVariant_SelectGroup$json, NodeSetting_SelectVariant_SelectItem$json], + '8': [ + {'1': 'variant'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_SelectVariant_SelectGroup$json = const { +const NodeSetting_SelectVariant_SelectGroup$json = { '1': 'SelectGroup', - '2': const [ - const {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, - const {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant', '10': 'items'}, + '2': [ + {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, + {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.SelectVariant', '10': 'items'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_SelectVariant_SelectItem$json = const { +const NodeSetting_SelectVariant_SelectItem$json = { '1': 'SelectItem', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, - const {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, + {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_EnumValue$json = const { +const NodeSetting_EnumValue$json = { '1': 'EnumValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, - const {'1': 'variants', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.EnumVariant', '10': 'variants'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, + {'1': 'variants', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.EnumVariant', '10': 'variants'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_EnumVariant$json = const { +const NodeSetting_EnumVariant$json = { '1': 'EnumVariant', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, - const {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, + {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_IdValue$json = const { +const NodeSetting_IdValue$json = { '1': 'IdValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, - const {'1': 'variants', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.IdVariant', '10': 'variants'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, + {'1': 'variants', '3': 2, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.IdVariant', '10': 'variants'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_IdVariant$json = const { +const NodeSetting_IdVariant$json = { '1': 'IdVariant', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, - const {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, + {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_SplineValue$json = const { +const NodeSetting_SplineValue$json = { '1': 'SplineValue', - '2': const [ - const {'1': 'steps', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.SplineValue.SplineStep', '10': 'steps'}, + '2': [ + {'1': 'steps', '3': 1, '4': 3, '5': 11, '6': '.mizer.nodes.NodeSetting.SplineValue.SplineStep', '10': 'steps'}, ], - '3': const [NodeSetting_SplineValue_SplineStep$json], + '3': [NodeSetting_SplineValue_SplineStep$json], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_SplineValue_SplineStep$json = const { +const NodeSetting_SplineValue_SplineStep$json = { '1': 'SplineStep', - '2': const [ - const {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, - const {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, - const {'1': 'c0a', '3': 3, '4': 1, '5': 1, '10': 'c0a'}, - const {'1': 'c0b', '3': 4, '4': 1, '5': 1, '10': 'c0b'}, - const {'1': 'c1a', '3': 5, '4': 1, '5': 1, '10': 'c1a'}, - const {'1': 'c1b', '3': 6, '4': 1, '5': 1, '10': 'c1b'}, + '2': [ + {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, + {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, + {'1': 'c0a', '3': 3, '4': 1, '5': 1, '10': 'c0a'}, + {'1': 'c0b', '3': 4, '4': 1, '5': 1, '10': 'c0b'}, + {'1': 'c1a', '3': 5, '4': 1, '5': 1, '10': 'c1a'}, + {'1': 'c1b', '3': 6, '4': 1, '5': 1, '10': 'c1b'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_MediaValue$json = const { +const NodeSetting_MediaValue$json = { '1': 'MediaValue', - '2': const [ - const {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, - const {'1': 'allowed_types', '3': 2, '4': 3, '5': 14, '6': '.mizer.media.MediaType', '10': 'allowedTypes'}, + '2': [ + {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, + {'1': 'allowed_types', '3': 2, '4': 3, '5': 14, '6': '.mizer.media.MediaType', '10': 'allowedTypes'}, ], }; @$core.Deprecated('Use nodeSettingDescriptor instead') -const NodeSetting_StepSequencerValue$json = const { +const NodeSetting_StepSequencerValue$json = { '1': 'StepSequencerValue', - '2': const [ - const {'1': 'steps', '3': 1, '4': 3, '5': 8, '10': 'steps'}, + '2': [ + {'1': 'steps', '3': 1, '4': 3, '5': 8, '10': 'steps'}, ], }; /// Descriptor for `NodeSetting`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeSettingDescriptor = $convert.base64Decode('CgtOb2RlU2V0dGluZxIOCgJpZBgBIAEoCVICaWQSGQoFbGFiZWwYAiABKAlIAVIFbGFiZWyIAQESHwoIY2F0ZWdvcnkYAyABKAlIAlIIY2F0ZWdvcnmIAQESIAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9uEhoKCGRpc2FibGVkGAUgASgIUghkaXNhYmxlZBJDCgp0ZXh0X3ZhbHVlGAYgASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuVGV4dFZhbHVlSABSCXRleHRWYWx1ZRJGCgtmbG9hdF92YWx1ZRgHIAEoCzIjLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLkZsb2F0VmFsdWVIAFIKZmxvYXRWYWx1ZRJACglpbnRfdmFsdWUYCCABKAsyIS5taXplci5ub2Rlcy5Ob2RlU2V0dGluZy5JbnRWYWx1ZUgAUghpbnRWYWx1ZRJDCgpib29sX3ZhbHVlGAkgASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuQm9vbFZhbHVlSABSCWJvb2xWYWx1ZRJJCgxzZWxlY3RfdmFsdWUYCiABKAsyJC5taXplci5ub2Rlcy5Ob2RlU2V0dGluZy5TZWxlY3RWYWx1ZUgAUgtzZWxlY3RWYWx1ZRJDCgplbnVtX3ZhbHVlGAsgASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuRW51bVZhbHVlSABSCWVudW1WYWx1ZRI9CghpZF92YWx1ZRgMIAEoCzIgLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLklkVmFsdWVIAFIHaWRWYWx1ZRJJCgxzcGxpbmVfdmFsdWUYDSABKAsyJC5taXplci5ub2Rlcy5Ob2RlU2V0dGluZy5TcGxpbmVWYWx1ZUgAUgtzcGxpbmVWYWx1ZRJGCgttZWRpYV92YWx1ZRgOIAEoCzIjLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLk1lZGlhVmFsdWVIAFIKbWVkaWFWYWx1ZRJDCgp1aW50X3ZhbHVlGA8gASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuVWludFZhbHVlSABSCXVpbnRWYWx1ZRJfChRzdGVwX3NlcXVlbmNlcl92YWx1ZRgQIAEoCzIrLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLlN0ZXBTZXF1ZW5jZXJWYWx1ZUgAUhJzdGVwU2VxdWVuY2VyVmFsdWUaPwoJVGV4dFZhbHVlEhQKBXZhbHVlGAEgASgJUgV2YWx1ZRIcCgltdWx0aWxpbmUYAiABKAhSCW11bHRpbGluZRrqAQoKRmxvYXRWYWx1ZRIUCgV2YWx1ZRgBIAEoAVIFdmFsdWUSFQoDbWluGAIgASgBSABSA21pbogBARIeCghtaW5faGludBgDIAEoAUgBUgdtaW5IaW50iAEBEhUKA21heBgEIAEoAUgCUgNtYXiIAQESHgoIbWF4X2hpbnQYBSABKAFIA1IHbWF4SGludIgBARIgCglzdGVwX3NpemUYBiABKAFIBFIIc3RlcFNpemWIAQFCBgoEX21pbkILCglfbWluX2hpbnRCBgoEX21heEILCglfbWF4X2hpbnRCDAoKX3N0ZXBfc2l6ZRroAQoISW50VmFsdWUSFAoFdmFsdWUYASABKAVSBXZhbHVlEhUKA21pbhgCIAEoBUgAUgNtaW6IAQESHgoIbWluX2hpbnQYAyABKAVIAVIHbWluSGludIgBARIVCgNtYXgYBCABKAVIAlIDbWF4iAEBEh4KCG1heF9oaW50GAUgASgFSANSB21heEhpbnSIAQESIAoJc3RlcF9zaXplGAYgASgFSARSCHN0ZXBTaXpliAEBQgYKBF9taW5CCwoJX21pbl9oaW50QgYKBF9tYXhCCwoJX21heF9oaW50QgwKCl9zdGVwX3NpemUa6QEKCVVpbnRWYWx1ZRIUCgV2YWx1ZRgBIAEoDVIFdmFsdWUSFQoDbWluGAIgASgNSABSA21pbogBARIeCghtaW5faGludBgDIAEoDUgBUgdtaW5IaW50iAEBEhUKA21heBgEIAEoDUgCUgNtYXiIAQESHgoIbWF4X2hpbnQYBSABKA1IA1IHbWF4SGludIgBARIgCglzdGVwX3NpemUYBiABKA1IBFIIc3RlcFNpemWIAQFCBgoEX21pbkILCglfbWluX2hpbnRCBgoEX21heEILCglfbWF4X2hpbnRCDAoKX3N0ZXBfc2l6ZRohCglCb29sVmFsdWUSFAoFdmFsdWUYASABKAhSBXZhbHVlGmcKC1NlbGVjdFZhbHVlEhQKBXZhbHVlGAEgASgJUgV2YWx1ZRJCCgh2YXJpYW50cxgCIAMoCzImLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLlNlbGVjdFZhcmlhbnRSCHZhcmlhbnRzGswCCg1TZWxlY3RWYXJpYW50EkoKBWdyb3VwGAEgASgLMjIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuU2VsZWN0VmFyaWFudC5TZWxlY3RHcm91cEgAUgVncm91cBJHCgRpdGVtGAIgASgLMjEubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuU2VsZWN0VmFyaWFudC5TZWxlY3RJdGVtSABSBGl0ZW0aYQoLU2VsZWN0R3JvdXASFAoFbGFiZWwYASABKAlSBWxhYmVsEjwKBWl0ZW1zGAIgAygLMiYubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuU2VsZWN0VmFyaWFudFIFaXRlbXMaOAoKU2VsZWN0SXRlbRIUCgV2YWx1ZRgBIAEoCVIFdmFsdWUSFAoFbGFiZWwYAiABKAlSBWxhYmVsQgkKB3ZhcmlhbnQaYwoJRW51bVZhbHVlEhQKBXZhbHVlGAEgASgNUgV2YWx1ZRJACgh2YXJpYW50cxgCIAMoCzIkLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLkVudW1WYXJpYW50Ugh2YXJpYW50cxo5CgtFbnVtVmFyaWFudBIUCgV2YWx1ZRgBIAEoDVIFdmFsdWUSFAoFbGFiZWwYAiABKAlSBWxhYmVsGl8KB0lkVmFsdWUSFAoFdmFsdWUYASABKA1SBXZhbHVlEj4KCHZhcmlhbnRzGAIgAygLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuSWRWYXJpYW50Ugh2YXJpYW50cxo3CglJZFZhcmlhbnQSFAoFdmFsdWUYASABKA1SBXZhbHVlEhQKBWxhYmVsGAIgASgJUgVsYWJlbBrGAQoLU3BsaW5lVmFsdWUSRQoFc3RlcHMYASADKAsyLy5taXplci5ub2Rlcy5Ob2RlU2V0dGluZy5TcGxpbmVWYWx1ZS5TcGxpbmVTdGVwUgVzdGVwcxpwCgpTcGxpbmVTdGVwEgwKAXgYASABKAFSAXgSDAoBeRgCIAEoAVIBeRIQCgNjMGEYAyABKAFSA2MwYRIQCgNjMGIYBCABKAFSA2MwYhIQCgNjMWEYBSABKAFSA2MxYRIQCgNjMWIYBiABKAFSA2MxYhpfCgpNZWRpYVZhbHVlEhQKBXZhbHVlGAEgASgJUgV2YWx1ZRI7Cg1hbGxvd2VkX3R5cGVzGAIgAygOMhYubWl6ZXIubWVkaWEuTWVkaWFUeXBlUgxhbGxvd2VkVHlwZXMaKgoSU3RlcFNlcXVlbmNlclZhbHVlEhQKBXN0ZXBzGAEgAygIUgVzdGVwc0IHCgV2YWx1ZUIICgZfbGFiZWxCCwoJX2NhdGVnb3J5'); +final $typed_data.Uint8List nodeSettingDescriptor = $convert.base64Decode( + 'CgtOb2RlU2V0dGluZxIOCgJpZBgBIAEoCVICaWQSGQoFbGFiZWwYAiABKAlIAVIFbGFiZWyIAQ' + 'ESHwoIY2F0ZWdvcnkYAyABKAlIAlIIY2F0ZWdvcnmIAQESIAoLZGVzY3JpcHRpb24YBCABKAlS' + 'C2Rlc2NyaXB0aW9uEhoKCGRpc2FibGVkGAUgASgIUghkaXNhYmxlZBJDCgp0ZXh0X3ZhbHVlGA' + 'YgASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuVGV4dFZhbHVlSABSCXRleHRWYWx1ZRJG' + 'CgtmbG9hdF92YWx1ZRgHIAEoCzIjLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLkZsb2F0VmFsdW' + 'VIAFIKZmxvYXRWYWx1ZRJACglpbnRfdmFsdWUYCCABKAsyIS5taXplci5ub2Rlcy5Ob2RlU2V0' + 'dGluZy5JbnRWYWx1ZUgAUghpbnRWYWx1ZRJDCgpib29sX3ZhbHVlGAkgASgLMiIubWl6ZXIubm' + '9kZXMuTm9kZVNldHRpbmcuQm9vbFZhbHVlSABSCWJvb2xWYWx1ZRJJCgxzZWxlY3RfdmFsdWUY' + 'CiABKAsyJC5taXplci5ub2Rlcy5Ob2RlU2V0dGluZy5TZWxlY3RWYWx1ZUgAUgtzZWxlY3RWYW' + 'x1ZRJDCgplbnVtX3ZhbHVlGAsgASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuRW51bVZh' + 'bHVlSABSCWVudW1WYWx1ZRI9CghpZF92YWx1ZRgMIAEoCzIgLm1pemVyLm5vZGVzLk5vZGVTZX' + 'R0aW5nLklkVmFsdWVIAFIHaWRWYWx1ZRJJCgxzcGxpbmVfdmFsdWUYDSABKAsyJC5taXplci5u' + 'b2Rlcy5Ob2RlU2V0dGluZy5TcGxpbmVWYWx1ZUgAUgtzcGxpbmVWYWx1ZRJGCgttZWRpYV92YW' + 'x1ZRgOIAEoCzIjLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLk1lZGlhVmFsdWVIAFIKbWVkaWFW' + 'YWx1ZRJDCgp1aW50X3ZhbHVlGA8gASgLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuVWludF' + 'ZhbHVlSABSCXVpbnRWYWx1ZRJfChRzdGVwX3NlcXVlbmNlcl92YWx1ZRgQIAEoCzIrLm1pemVy' + 'Lm5vZGVzLk5vZGVTZXR0aW5nLlN0ZXBTZXF1ZW5jZXJWYWx1ZUgAUhJzdGVwU2VxdWVuY2VyVm' + 'FsdWUaPwoJVGV4dFZhbHVlEhQKBXZhbHVlGAEgASgJUgV2YWx1ZRIcCgltdWx0aWxpbmUYAiAB' + 'KAhSCW11bHRpbGluZRrqAQoKRmxvYXRWYWx1ZRIUCgV2YWx1ZRgBIAEoAVIFdmFsdWUSFQoDbW' + 'luGAIgASgBSABSA21pbogBARIeCghtaW5faGludBgDIAEoAUgBUgdtaW5IaW50iAEBEhUKA21h' + 'eBgEIAEoAUgCUgNtYXiIAQESHgoIbWF4X2hpbnQYBSABKAFIA1IHbWF4SGludIgBARIgCglzdG' + 'VwX3NpemUYBiABKAFIBFIIc3RlcFNpemWIAQFCBgoEX21pbkILCglfbWluX2hpbnRCBgoEX21h' + 'eEILCglfbWF4X2hpbnRCDAoKX3N0ZXBfc2l6ZRroAQoISW50VmFsdWUSFAoFdmFsdWUYASABKA' + 'VSBXZhbHVlEhUKA21pbhgCIAEoBUgAUgNtaW6IAQESHgoIbWluX2hpbnQYAyABKAVIAVIHbWlu' + 'SGludIgBARIVCgNtYXgYBCABKAVIAlIDbWF4iAEBEh4KCG1heF9oaW50GAUgASgFSANSB21heE' + 'hpbnSIAQESIAoJc3RlcF9zaXplGAYgASgFSARSCHN0ZXBTaXpliAEBQgYKBF9taW5CCwoJX21p' + 'bl9oaW50QgYKBF9tYXhCCwoJX21heF9oaW50QgwKCl9zdGVwX3NpemUa6QEKCVVpbnRWYWx1ZR' + 'IUCgV2YWx1ZRgBIAEoDVIFdmFsdWUSFQoDbWluGAIgASgNSABSA21pbogBARIeCghtaW5faGlu' + 'dBgDIAEoDUgBUgdtaW5IaW50iAEBEhUKA21heBgEIAEoDUgCUgNtYXiIAQESHgoIbWF4X2hpbn' + 'QYBSABKA1IA1IHbWF4SGludIgBARIgCglzdGVwX3NpemUYBiABKA1IBFIIc3RlcFNpemWIAQFC' + 'BgoEX21pbkILCglfbWluX2hpbnRCBgoEX21heEILCglfbWF4X2hpbnRCDAoKX3N0ZXBfc2l6ZR' + 'ohCglCb29sVmFsdWUSFAoFdmFsdWUYASABKAhSBXZhbHVlGmcKC1NlbGVjdFZhbHVlEhQKBXZh' + 'bHVlGAEgASgJUgV2YWx1ZRJCCgh2YXJpYW50cxgCIAMoCzImLm1pemVyLm5vZGVzLk5vZGVTZX' + 'R0aW5nLlNlbGVjdFZhcmlhbnRSCHZhcmlhbnRzGswCCg1TZWxlY3RWYXJpYW50EkoKBWdyb3Vw' + 'GAEgASgLMjIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuU2VsZWN0VmFyaWFudC5TZWxlY3RHcm' + '91cEgAUgVncm91cBJHCgRpdGVtGAIgASgLMjEubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuU2Vs' + 'ZWN0VmFyaWFudC5TZWxlY3RJdGVtSABSBGl0ZW0aYQoLU2VsZWN0R3JvdXASFAoFbGFiZWwYAS' + 'ABKAlSBWxhYmVsEjwKBWl0ZW1zGAIgAygLMiYubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuU2Vs' + 'ZWN0VmFyaWFudFIFaXRlbXMaOAoKU2VsZWN0SXRlbRIUCgV2YWx1ZRgBIAEoCVIFdmFsdWUSFA' + 'oFbGFiZWwYAiABKAlSBWxhYmVsQgkKB3ZhcmlhbnQaYwoJRW51bVZhbHVlEhQKBXZhbHVlGAEg' + 'ASgNUgV2YWx1ZRJACgh2YXJpYW50cxgCIAMoCzIkLm1pemVyLm5vZGVzLk5vZGVTZXR0aW5nLk' + 'VudW1WYXJpYW50Ugh2YXJpYW50cxo5CgtFbnVtVmFyaWFudBIUCgV2YWx1ZRgBIAEoDVIFdmFs' + 'dWUSFAoFbGFiZWwYAiABKAlSBWxhYmVsGl8KB0lkVmFsdWUSFAoFdmFsdWUYASABKA1SBXZhbH' + 'VlEj4KCHZhcmlhbnRzGAIgAygLMiIubWl6ZXIubm9kZXMuTm9kZVNldHRpbmcuSWRWYXJpYW50' + 'Ugh2YXJpYW50cxo3CglJZFZhcmlhbnQSFAoFdmFsdWUYASABKA1SBXZhbHVlEhQKBWxhYmVsGA' + 'IgASgJUgVsYWJlbBrGAQoLU3BsaW5lVmFsdWUSRQoFc3RlcHMYASADKAsyLy5taXplci5ub2Rl' + 'cy5Ob2RlU2V0dGluZy5TcGxpbmVWYWx1ZS5TcGxpbmVTdGVwUgVzdGVwcxpwCgpTcGxpbmVTdG' + 'VwEgwKAXgYASABKAFSAXgSDAoBeRgCIAEoAVIBeRIQCgNjMGEYAyABKAFSA2MwYRIQCgNjMGIY' + 'BCABKAFSA2MwYhIQCgNjMWEYBSABKAFSA2MxYRIQCgNjMWIYBiABKAFSA2MxYhpfCgpNZWRpYV' + 'ZhbHVlEhQKBXZhbHVlGAEgASgJUgV2YWx1ZRI7Cg1hbGxvd2VkX3R5cGVzGAIgAygOMhYubWl6' + 'ZXIubWVkaWEuTWVkaWFUeXBlUgxhbGxvd2VkVHlwZXMaKgoSU3RlcFNlcXVlbmNlclZhbHVlEh' + 'QKBXN0ZXBzGAEgAygIUgVzdGVwc0IHCgV2YWx1ZUIICgZfbGFiZWxCCwoJX2NhdGVnb3J5'); + @$core.Deprecated('Use midiNodeConfigDescriptor instead') -const MidiNodeConfig$json = const { +const MidiNodeConfig$json = { '1': 'MidiNodeConfig', - '2': const [ - const {'1': 'device', '3': 1, '4': 1, '5': 9, '10': 'device'}, - const {'1': 'note_binding', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.MidiNodeConfig.NoteBinding', '9': 0, '10': 'noteBinding'}, - const {'1': 'control_binding', '3': 3, '4': 1, '5': 11, '6': '.mizer.nodes.MidiNodeConfig.ControlBinding', '9': 0, '10': 'controlBinding'}, + '2': [ + {'1': 'device', '3': 1, '4': 1, '5': 9, '10': 'device'}, + {'1': 'note_binding', '3': 2, '4': 1, '5': 11, '6': '.mizer.nodes.MidiNodeConfig.NoteBinding', '9': 0, '10': 'noteBinding'}, + {'1': 'control_binding', '3': 3, '4': 1, '5': 11, '6': '.mizer.nodes.MidiNodeConfig.ControlBinding', '9': 0, '10': 'controlBinding'}, ], - '3': const [MidiNodeConfig_NoteBinding$json, MidiNodeConfig_ControlBinding$json], - '8': const [ - const {'1': 'binding'}, + '3': [MidiNodeConfig_NoteBinding$json, MidiNodeConfig_ControlBinding$json], + '8': [ + {'1': 'binding'}, ], }; @$core.Deprecated('Use midiNodeConfigDescriptor instead') -const MidiNodeConfig_NoteBinding$json = const { +const MidiNodeConfig_NoteBinding$json = { '1': 'NoteBinding', - '2': const [ - const {'1': 'channel', '3': 1, '4': 1, '5': 13, '10': 'channel'}, - const {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.mizer.nodes.MidiNodeConfig.NoteBinding.MidiType', '10': 'type'}, - const {'1': 'port', '3': 3, '4': 1, '5': 13, '10': 'port'}, - const {'1': 'range_from', '3': 4, '4': 1, '5': 13, '10': 'rangeFrom'}, - const {'1': 'range_to', '3': 5, '4': 1, '5': 13, '10': 'rangeTo'}, + '2': [ + {'1': 'channel', '3': 1, '4': 1, '5': 13, '10': 'channel'}, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.mizer.nodes.MidiNodeConfig.NoteBinding.MidiType', '10': 'type'}, + {'1': 'port', '3': 3, '4': 1, '5': 13, '10': 'port'}, + {'1': 'range_from', '3': 4, '4': 1, '5': 13, '10': 'rangeFrom'}, + {'1': 'range_to', '3': 5, '4': 1, '5': 13, '10': 'rangeTo'}, ], - '4': const [MidiNodeConfig_NoteBinding_MidiType$json], + '4': [MidiNodeConfig_NoteBinding_MidiType$json], }; @$core.Deprecated('Use midiNodeConfigDescriptor instead') -const MidiNodeConfig_NoteBinding_MidiType$json = const { +const MidiNodeConfig_NoteBinding_MidiType$json = { '1': 'MidiType', - '2': const [ - const {'1': 'CC', '2': 0}, - const {'1': 'NOTE', '2': 1}, + '2': [ + {'1': 'CC', '2': 0}, + {'1': 'NOTE', '2': 1}, ], }; @$core.Deprecated('Use midiNodeConfigDescriptor instead') -const MidiNodeConfig_ControlBinding$json = const { +const MidiNodeConfig_ControlBinding$json = { '1': 'ControlBinding', - '2': const [ - const {'1': 'page', '3': 1, '4': 1, '5': 9, '10': 'page'}, - const {'1': 'control', '3': 2, '4': 1, '5': 9, '10': 'control'}, + '2': [ + {'1': 'page', '3': 1, '4': 1, '5': 9, '10': 'page'}, + {'1': 'control', '3': 2, '4': 1, '5': 9, '10': 'control'}, ], }; /// Descriptor for `MidiNodeConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List midiNodeConfigDescriptor = $convert.base64Decode('Cg5NaWRpTm9kZUNvbmZpZxIWCgZkZXZpY2UYASABKAlSBmRldmljZRJMCgxub3RlX2JpbmRpbmcYAiABKAsyJy5taXplci5ub2Rlcy5NaWRpTm9kZUNvbmZpZy5Ob3RlQmluZGluZ0gAUgtub3RlQmluZGluZxJVCg9jb250cm9sX2JpbmRpbmcYAyABKAsyKi5taXplci5ub2Rlcy5NaWRpTm9kZUNvbmZpZy5Db250cm9sQmluZGluZ0gAUg5jb250cm9sQmluZGluZxrZAQoLTm90ZUJpbmRpbmcSGAoHY2hhbm5lbBgBIAEoDVIHY2hhbm5lbBJECgR0eXBlGAIgASgOMjAubWl6ZXIubm9kZXMuTWlkaU5vZGVDb25maWcuTm90ZUJpbmRpbmcuTWlkaVR5cGVSBHR5cGUSEgoEcG9ydBgDIAEoDVIEcG9ydBIdCgpyYW5nZV9mcm9tGAQgASgNUglyYW5nZUZyb20SGQoIcmFuZ2VfdG8YBSABKA1SB3JhbmdlVG8iHAoITWlkaVR5cGUSBgoCQ0MQABIICgROT1RFEAEaPgoOQ29udHJvbEJpbmRpbmcSEgoEcGFnZRgBIAEoCVIEcGFnZRIYCgdjb250cm9sGAIgASgJUgdjb250cm9sQgkKB2JpbmRpbmc='); +final $typed_data.Uint8List midiNodeConfigDescriptor = $convert.base64Decode( + 'Cg5NaWRpTm9kZUNvbmZpZxIWCgZkZXZpY2UYASABKAlSBmRldmljZRJMCgxub3RlX2JpbmRpbm' + 'cYAiABKAsyJy5taXplci5ub2Rlcy5NaWRpTm9kZUNvbmZpZy5Ob3RlQmluZGluZ0gAUgtub3Rl' + 'QmluZGluZxJVCg9jb250cm9sX2JpbmRpbmcYAyABKAsyKi5taXplci5ub2Rlcy5NaWRpTm9kZU' + 'NvbmZpZy5Db250cm9sQmluZGluZ0gAUg5jb250cm9sQmluZGluZxrZAQoLTm90ZUJpbmRpbmcS' + 'GAoHY2hhbm5lbBgBIAEoDVIHY2hhbm5lbBJECgR0eXBlGAIgASgOMjAubWl6ZXIubm9kZXMuTW' + 'lkaU5vZGVDb25maWcuTm90ZUJpbmRpbmcuTWlkaVR5cGVSBHR5cGUSEgoEcG9ydBgDIAEoDVIE' + 'cG9ydBIdCgpyYW5nZV9mcm9tGAQgASgNUglyYW5nZUZyb20SGQoIcmFuZ2VfdG8YBSABKA1SB3' + 'JhbmdlVG8iHAoITWlkaVR5cGUSBgoCQ0MQABIICgROT1RFEAEaPgoOQ29udHJvbEJpbmRpbmcS' + 'EgoEcGFnZRgBIAEoCVIEcGFnZRIYCgdjb250cm9sGAIgASgJUgdjb250cm9sQgkKB2JpbmRpbm' + 'c='); + @$core.Deprecated('Use nodePositionDescriptor instead') -const NodePosition$json = const { +const NodePosition$json = { '1': 'NodePosition', - '2': const [ - const {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, - const {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, + '2': [ + {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, + {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, ], }; /// Descriptor for `NodePosition`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodePositionDescriptor = $convert.base64Decode('CgxOb2RlUG9zaXRpb24SDAoBeBgBIAEoAVIBeBIMCgF5GAIgASgBUgF5'); +final $typed_data.Uint8List nodePositionDescriptor = $convert.base64Decode( + 'CgxOb2RlUG9zaXRpb24SDAoBeBgBIAEoAVIBeBIMCgF5GAIgASgBUgF5'); + @$core.Deprecated('Use nodeDesignerDescriptor instead') -const NodeDesigner$json = const { +const NodeDesigner$json = { '1': 'NodeDesigner', - '2': const [ - const {'1': 'position', '3': 1, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, - const {'1': 'scale', '3': 2, '4': 1, '5': 1, '10': 'scale'}, - const {'1': 'hidden', '3': 3, '4': 1, '5': 8, '10': 'hidden'}, - const {'1': 'color', '3': 4, '4': 1, '5': 14, '6': '.mizer.nodes.NodeColor', '9': 0, '10': 'color', '17': true}, + '2': [ + {'1': 'position', '3': 1, '4': 1, '5': 11, '6': '.mizer.nodes.NodePosition', '10': 'position'}, + {'1': 'scale', '3': 2, '4': 1, '5': 1, '10': 'scale'}, + {'1': 'hidden', '3': 3, '4': 1, '5': 8, '10': 'hidden'}, + {'1': 'color', '3': 4, '4': 1, '5': 14, '6': '.mizer.nodes.NodeColor', '9': 0, '10': 'color', '17': true}, ], - '8': const [ - const {'1': '_color'}, + '8': [ + {'1': '_color'}, ], }; /// Descriptor for `NodeDesigner`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeDesignerDescriptor = $convert.base64Decode('CgxOb2RlRGVzaWduZXISNQoIcG9zaXRpb24YASABKAsyGS5taXplci5ub2Rlcy5Ob2RlUG9zaXRpb25SCHBvc2l0aW9uEhQKBXNjYWxlGAIgASgBUgVzY2FsZRIWCgZoaWRkZW4YAyABKAhSBmhpZGRlbhIxCgVjb2xvchgEIAEoDjIWLm1pemVyLm5vZGVzLk5vZGVDb2xvckgAUgVjb2xvcogBAUIICgZfY29sb3I='); +final $typed_data.Uint8List nodeDesignerDescriptor = $convert.base64Decode( + 'CgxOb2RlRGVzaWduZXISNQoIcG9zaXRpb24YASABKAsyGS5taXplci5ub2Rlcy5Ob2RlUG9zaX' + 'Rpb25SCHBvc2l0aW9uEhQKBXNjYWxlGAIgASgBUgVzY2FsZRIWCgZoaWRkZW4YAyABKAhSBmhp' + 'ZGRlbhIxCgVjb2xvchgEIAEoDjIWLm1pemVyLm5vZGVzLk5vZGVDb2xvckgAUgVjb2xvcogBAU' + 'IICgZfY29sb3I='); + @$core.Deprecated('Use portDescriptor instead') -const Port$json = const { +const Port$json = { '1': 'Port', - '2': const [ - const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - const {'1': 'protocol', '3': 2, '4': 1, '5': 14, '6': '.mizer.nodes.ChannelProtocol', '10': 'protocol'}, - const {'1': 'multiple', '3': 3, '4': 1, '5': 8, '10': 'multiple'}, + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'protocol', '3': 2, '4': 1, '5': 14, '6': '.mizer.nodes.ChannelProtocol', '10': 'protocol'}, + {'1': 'multiple', '3': 3, '4': 1, '5': 8, '10': 'multiple'}, ], }; /// Descriptor for `Port`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List portDescriptor = $convert.base64Decode('CgRQb3J0EhIKBG5hbWUYASABKAlSBG5hbWUSOAoIcHJvdG9jb2wYAiABKA4yHC5taXplci5ub2Rlcy5DaGFubmVsUHJvdG9jb2xSCHByb3RvY29sEhoKCG11bHRpcGxlGAMgASgIUghtdWx0aXBsZQ=='); +final $typed_data.Uint8List portDescriptor = $convert.base64Decode( + 'CgRQb3J0EhIKBG5hbWUYASABKAlSBG5hbWUSOAoIcHJvdG9jb2wYAiABKA4yHC5taXplci5ub2' + 'Rlcy5DaGFubmVsUHJvdG9jb2xSCHByb3RvY29sEhoKCG11bHRpcGxlGAMgASgIUghtdWx0aXBs' + 'ZQ=='); + +@$core.Deprecated('Use nodeCommentAreaDescriptor instead') +const NodeCommentArea$json = { + '1': 'NodeCommentArea', + '2': [ + {'1': 'width', '3': 1, '4': 1, '5': 1, '10': 'width'}, + {'1': 'height', '3': 2, '4': 1, '5': 1, '10': 'height'}, + {'1': 'designer', '3': 3, '4': 1, '5': 11, '6': '.mizer.nodes.NodeDesigner', '10': 'designer'}, + {'1': 'label', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'label', '17': true}, + {'1': 'show_background', '3': 5, '4': 1, '5': 8, '10': 'showBackground'}, + {'1': 'show_border', '3': 6, '4': 1, '5': 8, '10': 'showBorder'}, + {'1': 'parent', '3': 7, '4': 1, '5': 9, '9': 1, '10': 'parent', '17': true}, + ], + '8': [ + {'1': '_label'}, + {'1': '_parent'}, + ], +}; + +/// Descriptor for `NodeCommentArea`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nodeCommentAreaDescriptor = $convert.base64Decode( + 'Cg9Ob2RlQ29tbWVudEFyZWESFAoFd2lkdGgYASABKAFSBXdpZHRoEhYKBmhlaWdodBgCIAEoAV' + 'IGaGVpZ2h0EjUKCGRlc2lnbmVyGAMgASgLMhkubWl6ZXIubm9kZXMuTm9kZURlc2lnbmVyUghk' + 'ZXNpZ25lchIZCgVsYWJlbBgEIAEoCUgAUgVsYWJlbIgBARInCg9zaG93X2JhY2tncm91bmQYBS' + 'ABKAhSDnNob3dCYWNrZ3JvdW5kEh8KC3Nob3dfYm9yZGVyGAYgASgIUgpzaG93Qm9yZGVyEhsK' + 'BnBhcmVudBgHIAEoCUgBUgZwYXJlbnSIAQFCCAoGX2xhYmVsQgkKB19wYXJlbnQ='); + diff --git a/crates/ui/lib/state/nodes_bloc.dart b/crates/ui/lib/state/nodes_bloc.dart index 1838fcb3c..9acb10f2b 100644 --- a/crates/ui/lib/state/nodes_bloc.dart +++ b/crates/ui/lib/state/nodes_bloc.dart @@ -11,11 +11,12 @@ class PipelineState { final List channels; final List availableNodes; final List selectedNodes; + final List comments; - PipelineState(this.nodes, this.allNodes, this.channels, this.availableNodes, { this.selectedNodes = const [] }); + PipelineState(this.nodes, this.allNodes, this.channels, this.availableNodes, this.comments, { this.selectedNodes = const [] }); factory PipelineState.empty() { - return PipelineState([], [], [], []); + return PipelineState([], [], [], [], []); } List getInputs(String targetPath) { @@ -32,12 +33,14 @@ class PipelineState { List? channels, List? availableNodes, List? selectedNodes, + List? comments, }) { return PipelineState( nodes ?? this.nodes, allNodes ?? this.allNodes, channels ?? this.channels, availableNodes ?? this.availableNodes, + comments ?? this.comments, selectedNodes: selectedNodes ?? [], ); } @@ -266,6 +269,7 @@ class NodesBloc extends Bloc { nodes: nodes.nodes, channels: nodes.channels, allNodes: nodes.allNodes, + comments: nodes.comments, ); } diff --git a/crates/ui/lib/views/nodes/models/node_editor_model.dart b/crates/ui/lib/views/nodes/models/node_editor_model.dart index b9332a8fe..06cef23bc 100644 --- a/crates/ui/lib/views/nodes/models/node_editor_model.dart +++ b/crates/ui/lib/views/nodes/models/node_editor_model.dart @@ -10,6 +10,7 @@ import 'node_model.dart'; class NodeEditorModel extends ChangeNotifier { List rootNodes = []; List _channels = []; + List _comments = []; final GlobalKey painterKey = GlobalKey(debugLabel: "GraphPaintLayer"); late TransformationController transformationController; @@ -37,6 +38,13 @@ class NodeEditorModel extends ChangeNotifier { } return rootNodes; } + + Iterable get comments { + if (parent != null) { + return this._comments.where((c) => c.parent == parent!.node.path); + } + return this._comments.where((c) => !c.hasParent()); + } List get channels { return this diff --git a/crates/ui/lib/views/nodes/nodes_view.dart b/crates/ui/lib/views/nodes/nodes_view.dart index 17f93467d..0ceb516b7 100644 --- a/crates/ui/lib/views/nodes/nodes_view.dart +++ b/crates/ui/lib/views/nodes/nodes_view.dart @@ -9,6 +9,7 @@ import 'package:mizer/settings/hotkeys/hotkey_configuration.dart'; import 'package:mizer/state/nodes_bloc.dart'; import 'package:mizer/views/nodes/consts.dart'; import 'package:mizer/views/nodes/node_documenter.dart'; +import 'package:mizer/views/nodes/widgets/editor_layers/comments_layer.dart'; import 'package:mizer/views/nodes/widgets/minimap/minimap.dart'; import 'package:mizer/views/nodes/widgets/node/base_node.dart'; import 'package:mizer/widgets/controls/button.dart'; @@ -96,6 +97,7 @@ class _NodesViewState extends State with WidgetsBindingObserver { OverlayEntry( builder: (context) => Stack(children: [ CanvasBackgroundLayer(model.transformationController.value), + CommentsTarget(), TransformLayer(transformationController: model.transformationController), Transform( transform: model.transformationController.value, diff --git a/crates/ui/lib/views/nodes/widgets/editor_layers/comments_layer.dart b/crates/ui/lib/views/nodes/widgets/editor_layers/comments_layer.dart new file mode 100644 index 000000000..8bed90ad0 --- /dev/null +++ b/crates/ui/lib/views/nodes/widgets/editor_layers/comments_layer.dart @@ -0,0 +1,77 @@ +import 'package:flutter/material.dart'; +import 'package:mizer/protos/nodes.pb.dart'; +import 'package:mizer/views/nodes/consts.dart'; +import 'package:provider/provider.dart'; +import 'package:vector_math/vector_math_64.dart' hide Colors; + +import '../../models/node_editor_model.dart'; + +class CommentsTarget extends StatefulWidget { + @override + State createState() => _CommentsTargetState(); +} + +class _CommentsTargetState extends State { + Offset? startOffset; + Offset? currentOffset; + + @override + Widget build(BuildContext context) { + return Consumer(builder: (context, model, _) { + return SizedBox.expand( + child: Stack( + clipBehavior: Clip.none, + children: [ + for (var comment in model.comments) + Transform( + transform: model.transformationController.value * + Matrix4.translation(Vector3(comment.designer.position.x, comment.designer.position.y, 0)), + child: Container( + decoration: BoxDecoration( + border: Border.all(color: Colors.blue.shade800, width: 4), + color: Colors.blue.shade500.withOpacity(0.2), + borderRadius: BorderRadius.circular(10), + ), + width: comment.width, + height: comment.height, + padding: EdgeInsets.all(10), + child: Text( + comment.label, + style: TextStyle( + fontSize: 20, + ), + ), + ) + ) + ] + )); + }); + } +} + +class CommentArea extends StatelessWidget { + final NodeCommentArea comment; + + const CommentArea({super.key, required this.comment}); + + @override + Widget build(BuildContext context) { + var color = DESIGNER_COLORS[comment.designer.color]!; + return Container( + decoration: BoxDecoration( + border: Border.all(color: color, width: 4), + color: color.withOpacity(0.2), + borderRadius: BorderRadius.circular(10), + ), + width: comment.width, + height: comment.height, + padding: EdgeInsets.all(10), + child: comment.hasLabel() ? Text( + comment.label, + style: TextStyle( + fontSize: 20, + ), + ) : null, + ); + } +}