Interface ScriptNodeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScriptNode, ScriptNode.Builder
@Generated
public interface ScriptNodeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsData(String key) Configuration data for this node instance.booleanWhether this node is collapsed (showing only header).getContainedNodes(int index) For frame nodes: IDs of nodes contained within this frame.com.google.protobuf.ByteStringgetContainedNodesBytes(int index) For frame nodes: IDs of nodes contained within this frame.intFor frame nodes: IDs of nodes contained within this frame.For frame nodes: IDs of nodes contained within this frame.getData()Deprecated.intConfiguration data for this node instance.Configuration data for this node instance.com.google.protobuf.ValuegetDataOrDefault(String key, com.google.protobuf.Value defaultValue) Configuration data for this node instance.com.google.protobuf.ValuegetDataOrThrow(String key) Configuration data for this node instance.doubleFor frame nodes: the height of the frame.getId()Unique identifier for this node within the script.com.google.protobuf.ByteStringUnique identifier for this node within the script.getLabel()Optional label override for this node instance.com.google.protobuf.ByteStringOptional label override for this node instance.booleangetMuted()Whether this node is muted (bypassed during execution).Parent frame node ID, if this node is inside a frame.com.google.protobuf.ByteStringParent frame node ID, if this node is inside a frame.The visual position of this node on the editor canvas.The visual position of this node on the editor canvas.For reroute nodes: the resolved port type based on connections.intFor reroute nodes: the resolved port type based on connections.getType()The type identifier for this node, determining its behavior and available ports.com.google.protobuf.ByteStringThe type identifier for this node, determining its behavior and available ports.doublegetWidth()For frame nodes: the width of the frame.booleanFor frame nodes: the height of the frame.booleanThe visual position of this node on the editor canvas.booleanFor reroute nodes: the resolved port type based on connections.booleanhasWidth()For frame nodes: the width of the frame.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Unique identifier for this node within the script. Used to reference this node in edges and during execution tracking. Format: UUID string.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Unique identifier for this node within the script. Used to reference this node in edges and during execution tracking. Format: UUID string.
string id = 1;- Returns:
- The bytes for id.
-
getType
String getType()The type identifier for this node, determining its behavior and available ports. Examples: "trigger.on_chat", "action.send_message", "control.delay", "logic.condition".
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type identifier for this node, determining its behavior and available ports. Examples: "trigger.on_chat", "action.send_message", "control.delay", "logic.condition".
string type = 2;- Returns:
- The bytes for type.
-
hasPosition
boolean hasPosition()The visual position of this node on the editor canvas. Persisted to maintain the user's layout when reopening the script.
.soulfire.v1.Position position = 3;- Returns:
- Whether the position field is set.
-
getPosition
Position getPosition()The visual position of this node on the editor canvas. Persisted to maintain the user's layout when reopening the script.
.soulfire.v1.Position position = 3;- Returns:
- The position.
-
getPositionOrBuilder
PositionOrBuilder getPositionOrBuilder()The visual position of this node on the editor canvas. Persisted to maintain the user's layout when reopening the script.
.soulfire.v1.Position position = 3; -
getDataCount
int getDataCount()Configuration data for this node instance. Contains node-specific settings and parameter values. The structure depends on the node type.
map<string, .google.protobuf.Value> data = 4; -
containsData
Configuration data for this node instance. Contains node-specific settings and parameter values. The structure depends on the node type.
map<string, .google.protobuf.Value> data = 4; -
getData
-
getDataMap
-
getDataOrDefault
Configuration data for this node instance. Contains node-specific settings and parameter values. The structure depends on the node type.
map<string, .google.protobuf.Value> data = 4; -
getDataOrThrow
Configuration data for this node instance. Contains node-specific settings and parameter values. The structure depends on the node type.
map<string, .google.protobuf.Value> data = 4; -
getMuted
boolean getMuted()Whether this node is muted (bypassed during execution). When muted, the node passes inputs directly to outputs without processing. Visually shown as grayed out with pass-through indicator.
bool muted = 5;- Returns:
- The muted.
-
getCollapsed
boolean getCollapsed()Whether this node is collapsed (showing only header). Collapsed nodes still function normally but take less visual space.
bool collapsed = 6;- Returns:
- The collapsed.
-
hasWidth
boolean hasWidth()For frame nodes: the width of the frame.
optional double width = 7;- Returns:
- Whether the width field is set.
-
getWidth
double getWidth()For frame nodes: the width of the frame.
optional double width = 7;- Returns:
- The width.
-
hasHeight
boolean hasHeight()For frame nodes: the height of the frame.
optional double height = 8;- Returns:
- Whether the height field is set.
-
getHeight
double getHeight()For frame nodes: the height of the frame.
optional double height = 8;- Returns:
- The height.
-
getContainedNodesList
-
getContainedNodesCount
int getContainedNodesCount()For frame nodes: IDs of nodes contained within this frame. Updated automatically based on node positions.
repeated string contained_nodes = 9;- Returns:
- The count of containedNodes.
-
getContainedNodes
For frame nodes: IDs of nodes contained within this frame. Updated automatically based on node positions.
repeated string contained_nodes = 9;- Parameters:
index- The index of the element to return.- Returns:
- The containedNodes at the given index.
-
getContainedNodesBytes
com.google.protobuf.ByteString getContainedNodesBytes(int index) For frame nodes: IDs of nodes contained within this frame. Updated automatically based on node positions.
repeated string contained_nodes = 9;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the containedNodes at the given index.
-
getLabel
String getLabel()Optional label override for this node instance. If set, displayed instead of the node type's default label.
string label = 10;- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()Optional label override for this node instance. If set, displayed instead of the node type's default label.
string label = 10;- Returns:
- The bytes for label.
-
hasResolvedType
boolean hasResolvedType()For reroute nodes: the resolved port type based on connections. Dynamically updated when connections change.
optional .soulfire.v1.PortType resolved_type = 11;- Returns:
- Whether the resolvedType field is set.
-
getResolvedTypeValue
int getResolvedTypeValue()For reroute nodes: the resolved port type based on connections. Dynamically updated when connections change.
optional .soulfire.v1.PortType resolved_type = 11;- Returns:
- The enum numeric value on the wire for resolvedType.
-
getResolvedType
PortType getResolvedType()For reroute nodes: the resolved port type based on connections. Dynamically updated when connections change.
optional .soulfire.v1.PortType resolved_type = 11;- Returns:
- The resolvedType.
-
getParentFrameId
String getParentFrameId()Parent frame node ID, if this node is inside a frame.
string parent_frame_id = 12;- Returns:
- The parentFrameId.
-
getParentFrameIdBytes
com.google.protobuf.ByteString getParentFrameIdBytes()Parent frame node ID, if this node is inside a frame.
string parent_frame_id = 12;- Returns:
- The bytes for parentFrameId.
-