Class NodeTypeDefinition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.NodeTypeDefinition
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NodeTypeDefinitionOrBuilder, Serializable
@Generated
public final class NodeTypeDefinition
extends com.google.protobuf.GeneratedMessage
implements NodeTypeDefinitionOrBuilder
Complete definition of a node type. Contains all metadata needed to render the node in an editor and validate its connections without hardcoded client knowledge.Protobuf type
soulfire.v1.NodeTypeDefinition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classComplete definition of a node type.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCategory ID for organizing nodes in the palette.com.google.protobuf.ByteStringCategory ID for organizing nodes in the palette.getColor()Optional color hint for the node (hex color code).com.google.protobuf.ByteStringOptional color hint for the node (hex color code).static NodeTypeDefinitionbooleanWhether this node is deprecated and should be avoided.If deprecated, message explaining what to use instead.com.google.protobuf.ByteStringIf deprecated, message explaining what to use instead.Description of what this node does.com.google.protobuf.ByteStringDescription of what this node does.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHuman-readable name displayed in the UI.com.google.protobuf.ByteStringHuman-readable name displayed in the UI.getIcon()Optional icon identifier for rendering.com.google.protobuf.ByteStringOptional icon identifier for rendering.getInputs(int index) The input ports for this node type.intThe input ports for this node type.The input ports for this node type.getInputsOrBuilder(int index) The input ports for this node type.List<? extends PortDefinitionOrBuilder> The input ports for this node type.booleanWhether this node is expensive (slow, may block).booleanWhether this is a layout node (reroute, frame, etc.).booleanWhether this is a trigger node (entry point for execution).getKeywords(int index) Keywords for searching/filtering nodes in the palette.com.google.protobuf.ByteStringgetKeywordsBytes(int index) Keywords for searching/filtering nodes in the palette.intKeywords for searching/filtering nodes in the palette.com.google.protobuf.ProtocolStringListKeywords for searching/filtering nodes in the palette.getOutputs(int index) The output ports for this node type.intThe output ports for this node type.The output ports for this node type.getOutputsOrBuilder(int index) The output ports for this node type.List<? extends PortDefinitionOrBuilder> The output ports for this node type.com.google.protobuf.Parser<NodeTypeDefinition> intbooleanWhether this node can be muted (bypassed during execution).booleanWhether this node supports inline preview of its output.getType()The unique type identifier for this node.com.google.protobuf.ByteStringThe unique type identifier for this node.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NodeTypeDefinition.Builderstatic NodeTypeDefinition.BuildernewBuilder(NodeTypeDefinition prototype) protected NodeTypeDefinition.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NodeTypeDefinitionparseDelimitedFrom(InputStream input) static NodeTypeDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeDefinitionparseFrom(byte[] data) static NodeTypeDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeDefinitionparseFrom(com.google.protobuf.ByteString data) static NodeTypeDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeDefinitionparseFrom(com.google.protobuf.CodedInputStream input) static NodeTypeDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeDefinitionparseFrom(InputStream input) static NodeTypeDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeDefinitionparseFrom(ByteBuffer data) static NodeTypeDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeTypeDefinition> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER- See Also:
-
IS_TRIGGER_FIELD_NUMBER
public static final int IS_TRIGGER_FIELD_NUMBER- See Also:
-
INPUTS_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER- See Also:
-
OUTPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER- See Also:
-
ICON_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER- See Also:
-
COLOR_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER- See Also:
-
KEYWORDS_FIELD_NUMBER
public static final int KEYWORDS_FIELD_NUMBER- See Also:
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER- See Also:
-
DEPRECATION_MESSAGE_FIELD_NUMBER
public static final int DEPRECATION_MESSAGE_FIELD_NUMBER- See Also:
-
IS_LAYOUT_NODE_FIELD_NUMBER
public static final int IS_LAYOUT_NODE_FIELD_NUMBER- See Also:
-
SUPPORTS_MUTING_FIELD_NUMBER
public static final int SUPPORTS_MUTING_FIELD_NUMBER- See Also:
-
SUPPORTS_PREVIEW_FIELD_NUMBER
public static final int SUPPORTS_PREVIEW_FIELD_NUMBER- See Also:
-
IS_EXPENSIVE_FIELD_NUMBER
public static final int IS_EXPENSIVE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getType
The unique type identifier for this node. Examples: "trigger.on_tick", "action.pathfind", "math.add".
string type = 1;- Specified by:
getTypein interfaceNodeTypeDefinitionOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()The unique type identifier for this node. Examples: "trigger.on_tick", "action.pathfind", "math.add".
string type = 1;- Specified by:
getTypeBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for type.
-
getDisplayName
Human-readable name displayed in the UI. Examples: "On Tick", "Pathfind To", "Add".
string display_name = 2;- Specified by:
getDisplayNamein interfaceNodeTypeDefinitionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Human-readable name displayed in the UI. Examples: "On Tick", "Pathfind To", "Add".
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
Description of what this node does. Displayed in tooltips and node palettes.
string description = 3;- Specified by:
getDescriptionin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of what this node does. Displayed in tooltips and node palettes.
string description = 3;- Specified by:
getDescriptionBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for description.
-
getCategory
Category ID for organizing nodes in the palette. References CategoryDefinition.id from GetNodeTypesResponse. Examples: "triggers", "actions", "math", "logic", "flow".
string category = 4;- Specified by:
getCategoryin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()Category ID for organizing nodes in the palette. References CategoryDefinition.id from GetNodeTypesResponse. Examples: "triggers", "actions", "math", "logic", "flow".
string category = 4;- Specified by:
getCategoryBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for category.
-
getIsTrigger
public boolean getIsTrigger()Whether this is a trigger node (entry point for execution). Trigger nodes have no execution input and start script flows.
bool is_trigger = 5;- Specified by:
getIsTriggerin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The isTrigger.
-
getInputsList
The input ports for this node type. Includes both data inputs and execution inputs.
repeated .soulfire.v1.PortDefinition inputs = 6;- Specified by:
getInputsListin interfaceNodeTypeDefinitionOrBuilder
-
getInputsOrBuilderList
The input ports for this node type. Includes both data inputs and execution inputs.
repeated .soulfire.v1.PortDefinition inputs = 6;- Specified by:
getInputsOrBuilderListin interfaceNodeTypeDefinitionOrBuilder
-
getInputsCount
public int getInputsCount()The input ports for this node type. Includes both data inputs and execution inputs.
repeated .soulfire.v1.PortDefinition inputs = 6;- Specified by:
getInputsCountin interfaceNodeTypeDefinitionOrBuilder
-
getInputs
The input ports for this node type. Includes both data inputs and execution inputs.
repeated .soulfire.v1.PortDefinition inputs = 6;- Specified by:
getInputsin interfaceNodeTypeDefinitionOrBuilder
-
getInputsOrBuilder
The input ports for this node type. Includes both data inputs and execution inputs.
repeated .soulfire.v1.PortDefinition inputs = 6;- Specified by:
getInputsOrBuilderin interfaceNodeTypeDefinitionOrBuilder
-
getOutputsList
The output ports for this node type. Includes both data outputs and execution outputs.
repeated .soulfire.v1.PortDefinition outputs = 7;- Specified by:
getOutputsListin interfaceNodeTypeDefinitionOrBuilder
-
getOutputsOrBuilderList
The output ports for this node type. Includes both data outputs and execution outputs.
repeated .soulfire.v1.PortDefinition outputs = 7;- Specified by:
getOutputsOrBuilderListin interfaceNodeTypeDefinitionOrBuilder
-
getOutputsCount
public int getOutputsCount()The output ports for this node type. Includes both data outputs and execution outputs.
repeated .soulfire.v1.PortDefinition outputs = 7;- Specified by:
getOutputsCountin interfaceNodeTypeDefinitionOrBuilder
-
getOutputs
The output ports for this node type. Includes both data outputs and execution outputs.
repeated .soulfire.v1.PortDefinition outputs = 7;- Specified by:
getOutputsin interfaceNodeTypeDefinitionOrBuilder
-
getOutputsOrBuilder
The output ports for this node type. Includes both data outputs and execution outputs.
repeated .soulfire.v1.PortDefinition outputs = 7;- Specified by:
getOutputsOrBuilderin interfaceNodeTypeDefinitionOrBuilder
-
getIcon
Optional icon identifier for rendering. Can be an icon name or emoji.
string icon = 8;- Specified by:
getIconin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The icon.
-
getIconBytes
public com.google.protobuf.ByteString getIconBytes()Optional icon identifier for rendering. Can be an icon name or emoji.
string icon = 8;- Specified by:
getIconBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for icon.
-
getColor
Optional color hint for the node (hex color code). Used for visual distinction between node categories.
string color = 9;- Specified by:
getColorin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()Optional color hint for the node (hex color code). Used for visual distinction between node categories.
string color = 9;- Specified by:
getColorBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for color.
-
getKeywordsList
public com.google.protobuf.ProtocolStringList getKeywordsList()Keywords for searching/filtering nodes in the palette.
repeated string keywords = 10;- Specified by:
getKeywordsListin interfaceNodeTypeDefinitionOrBuilder- Returns:
- A list containing the keywords.
-
getKeywordsCount
public int getKeywordsCount()Keywords for searching/filtering nodes in the palette.
repeated string keywords = 10;- Specified by:
getKeywordsCountin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The count of keywords.
-
getKeywords
Keywords for searching/filtering nodes in the palette.
repeated string keywords = 10;- Specified by:
getKeywordsin interfaceNodeTypeDefinitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keywords at the given index.
-
getKeywordsBytes
public com.google.protobuf.ByteString getKeywordsBytes(int index) Keywords for searching/filtering nodes in the palette.
repeated string keywords = 10;- Specified by:
getKeywordsBytesin interfaceNodeTypeDefinitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keywords at the given index.
-
getDeprecated
public boolean getDeprecated()Whether this node is deprecated and should be avoided.
bool deprecated = 11;- Specified by:
getDeprecatedin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The deprecated.
-
getDeprecationMessage
If deprecated, message explaining what to use instead.
string deprecation_message = 12;- Specified by:
getDeprecationMessagein interfaceNodeTypeDefinitionOrBuilder- Returns:
- The deprecationMessage.
-
getDeprecationMessageBytes
public com.google.protobuf.ByteString getDeprecationMessageBytes()If deprecated, message explaining what to use instead.
string deprecation_message = 12;- Specified by:
getDeprecationMessageBytesin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The bytes for deprecationMessage.
-
getIsLayoutNode
public boolean getIsLayoutNode()Whether this is a layout node (reroute, frame, etc.). Layout nodes have special minimal rendering and don't execute logic.
bool is_layout_node = 13;- Specified by:
getIsLayoutNodein interfaceNodeTypeDefinitionOrBuilder- Returns:
- The isLayoutNode.
-
getSupportsMuting
public boolean getSupportsMuting()Whether this node can be muted (bypassed during execution). When muted, inputs pass through to outputs unchanged.
bool supports_muting = 14;- Specified by:
getSupportsMutingin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The supportsMuting.
-
getSupportsPreview
public boolean getSupportsPreview()Whether this node supports inline preview of its output.
bool supports_preview = 15;- Specified by:
getSupportsPreviewin interfaceNodeTypeDefinitionOrBuilder- Returns:
- The supportsPreview.
-
getIsExpensive
public boolean getIsExpensive()Whether this node is expensive (slow, may block). Used for visual warnings in tick-path analysis.
bool is_expensive = 16;- Specified by:
getIsExpensivein interfaceNodeTypeDefinitionOrBuilder- Returns:
- The isExpensive.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NodeTypeDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTypeDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTypeDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTypeDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTypeDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTypeDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeTypeDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeTypeDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NodeTypeDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NodeTypeDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeTypeDefinition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-