Class ScriptEdge
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ScriptEdge
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptEdgeOrBuilder, Serializable
@Generated
public final class ScriptEdge
extends com.google.protobuf.GeneratedMessage
implements ScriptEdgeOrBuilder
Represents a connection between two nodes in the visual script graph. Edges define how execution flows and how data passes between nodes.Protobuf type
soulfire.v1.ScriptEdge- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a connection between two nodes in the visual script graph.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 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 TypeMethodDescriptionbooleanstatic ScriptEdgestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe type of this edge, determining whether it carries execution flow or data.intThe type of this edge, determining whether it carries execution flow or data.getId()Unique identifier for this edge within the script.com.google.protobuf.ByteStringUnique identifier for this edge within the script.com.google.protobuf.Parser<ScriptEdge> intThe ID of the source node where this edge originates.com.google.protobuf.ByteStringThe ID of the source node where this edge originates.The handle/port identifier on the source node.com.google.protobuf.ByteStringThe handle/port identifier on the source node.The ID of the target node where this edge terminates.com.google.protobuf.ByteStringThe ID of the target node where this edge terminates.The handle/port identifier on the target node.com.google.protobuf.ByteStringThe handle/port identifier on the target node.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ScriptEdge.Builderstatic ScriptEdge.BuildernewBuilder(ScriptEdge prototype) protected ScriptEdge.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ScriptEdgeparseDelimitedFrom(InputStream input) static ScriptEdgeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptEdgeparseFrom(byte[] data) static ScriptEdgeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptEdgeparseFrom(com.google.protobuf.ByteString data) static ScriptEdgeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptEdgeparseFrom(com.google.protobuf.CodedInputStream input) static ScriptEdgeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptEdgeparseFrom(InputStream input) static ScriptEdgeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptEdgeparseFrom(ByteBuffer data) static ScriptEdgeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ScriptEdge> 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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
SOURCE_HANDLE_FIELD_NUMBER
public static final int SOURCE_HANDLE_FIELD_NUMBER- See Also:
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER- See Also:
-
TARGET_HANDLE_FIELD_NUMBER
public static final int TARGET_HANDLE_FIELD_NUMBER- See Also:
-
EDGE_TYPE_FIELD_NUMBER
public static final int EDGE_TYPE_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
-
getId
Unique identifier for this edge within the script. Format: UUID string.
string id = 1;- Specified by:
getIdin interfaceScriptEdgeOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for this edge within the script. Format: UUID string.
string id = 1;- Specified by:
getIdBytesin interfaceScriptEdgeOrBuilder- Returns:
- The bytes for id.
-
getSource
The ID of the source node where this edge originates. Must reference a valid node ID in the script's nodes list.
string source = 2;- Specified by:
getSourcein interfaceScriptEdgeOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()The ID of the source node where this edge originates. Must reference a valid node ID in the script's nodes list.
string source = 2;- Specified by:
getSourceBytesin interfaceScriptEdgeOrBuilder- Returns:
- The bytes for source.
-
getSourceHandle
The handle/port identifier on the source node. Identifies which output port of the source node this edge connects from. Examples: "exec_out", "value", "true", "false".
string source_handle = 3;- Specified by:
getSourceHandlein interfaceScriptEdgeOrBuilder- Returns:
- The sourceHandle.
-
getSourceHandleBytes
public com.google.protobuf.ByteString getSourceHandleBytes()The handle/port identifier on the source node. Identifies which output port of the source node this edge connects from. Examples: "exec_out", "value", "true", "false".
string source_handle = 3;- Specified by:
getSourceHandleBytesin interfaceScriptEdgeOrBuilder- Returns:
- The bytes for sourceHandle.
-
getTarget
The ID of the target node where this edge terminates. Must reference a valid node ID in the script's nodes list.
string target = 4;- Specified by:
getTargetin interfaceScriptEdgeOrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()The ID of the target node where this edge terminates. Must reference a valid node ID in the script's nodes list.
string target = 4;- Specified by:
getTargetBytesin interfaceScriptEdgeOrBuilder- Returns:
- The bytes for target.
-
getTargetHandle
The handle/port identifier on the target node. Identifies which input port of the target node this edge connects to. Examples: "exec_in", "message", "condition".
string target_handle = 5;- Specified by:
getTargetHandlein interfaceScriptEdgeOrBuilder- Returns:
- The targetHandle.
-
getTargetHandleBytes
public com.google.protobuf.ByteString getTargetHandleBytes()The handle/port identifier on the target node. Identifies which input port of the target node this edge connects to. Examples: "exec_in", "message", "condition".
string target_handle = 5;- Specified by:
getTargetHandleBytesin interfaceScriptEdgeOrBuilder- Returns:
- The bytes for targetHandle.
-
getEdgeTypeValue
public int getEdgeTypeValue()The type of this edge, determining whether it carries execution flow or data.
.soulfire.v1.EdgeType edge_type = 6;- Specified by:
getEdgeTypeValuein interfaceScriptEdgeOrBuilder- Returns:
- The enum numeric value on the wire for edgeType.
-
getEdgeType
The type of this edge, determining whether it carries execution flow or data.
.soulfire.v1.EdgeType edge_type = 6;- Specified by:
getEdgeTypein interfaceScriptEdgeOrBuilder- Returns:
- The edgeType.
-
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 ScriptEdge parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptEdge parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptEdge parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptEdge parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptEdge parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptEdge parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ScriptEdge parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ScriptEdge parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ScriptEdge 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 ScriptEdge.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
-