Class ScriptEdge.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScriptEdge.Builder>
com.google.protobuf.GeneratedMessage.Builder<ScriptEdge.Builder>
com.soulfiremc.grpc.generated.ScriptEdge.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptEdgeOrBuilder, Cloneable
- Enclosing class:
ScriptEdge
public static final class ScriptEdge.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ScriptEdge.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The type of this edge, determining whether it carries execution flow or data.clearId()Unique identifier for this edge within the script.The ID of the source node where this edge originates.The handle/port identifier on the source node.The ID of the target node where this edge terminates.The handle/port identifier on the target node.static 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.The 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ScriptEdge other) setEdgeType(EdgeType value) The type of this edge, determining whether it carries execution flow or data.setEdgeTypeValue(int value) The type of this edge, determining whether it carries execution flow or data.Unique identifier for this edge within the script.setIdBytes(com.google.protobuf.ByteString value) Unique identifier for this edge within the script.The ID of the source node where this edge originates.setSourceBytes(com.google.protobuf.ByteString value) The ID of the source node where this edge originates.setSourceHandle(String value) The handle/port identifier on the source node.setSourceHandleBytes(com.google.protobuf.ByteString value) The handle/port identifier on the source node.The ID of the target node where this edge terminates.setTargetBytes(com.google.protobuf.ByteString value) The ID of the target node where this edge terminates.setTargetHandle(String value) The handle/port identifier on the target node.setTargetHandleBytes(com.google.protobuf.ByteString value) The handle/port identifier on the target node.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ScriptEdge.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ScriptEdge.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ScriptEdge.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScriptEdge.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ScriptEdge.Builder>
-
mergeFrom
public ScriptEdge.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScriptEdge.Builder>- Throws:
IOException
-
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.
-
setId
Unique identifier for this edge within the script. Format: UUID string.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique identifier for this edge within the script. Format: UUID string.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
Unique identifier for this edge within the script. Format: UUID string.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setSource
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;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
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;- Returns:
- This builder for chaining.
-
setSourceBytes
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;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
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.
-
setSourceHandle
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;- Parameters:
value- The sourceHandle to set.- Returns:
- This builder for chaining.
-
clearSourceHandle
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;- Returns:
- This builder for chaining.
-
setSourceHandleBytes
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;- Parameters:
value- The bytes for sourceHandle to set.- Returns:
- This builder for chaining.
-
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.
-
setTarget
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;- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
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;- Returns:
- This builder for chaining.
-
setTargetBytes
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;- Parameters:
value- The bytes for target to set.- Returns:
- This builder for chaining.
-
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.
-
setTargetHandle
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;- Parameters:
value- The targetHandle to set.- Returns:
- This builder for chaining.
-
clearTargetHandle
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;- Returns:
- This builder for chaining.
-
setTargetHandleBytes
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;- Parameters:
value- The bytes for targetHandle to set.- Returns:
- This builder for chaining.
-
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.
-
setEdgeTypeValue
The type of this edge, determining whether it carries execution flow or data.
.soulfire.v1.EdgeType edge_type = 6;- Parameters:
value- The enum numeric value on the wire for edgeType to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
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.
-
setEdgeType
The type of this edge, determining whether it carries execution flow or data.
.soulfire.v1.EdgeType edge_type = 6;- Parameters:
value- The edgeType to set.- Returns:
- This builder for chaining.
-
clearEdgeType
The type of this edge, determining whether it carries execution flow or data.
.soulfire.v1.EdgeType edge_type = 6;- Returns:
- This builder for chaining.
-