Class ScriptData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ScriptData
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptDataOrBuilder, Serializable
@Generated
public final class ScriptData
extends com.google.protobuf.GeneratedMessage
implements ScriptDataOrBuilder
Complete data structure representing a visual script. Contains all nodes, edges, and metadata needed to render and execute the script.Protobuf type
soulfire.v1.ScriptData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classComplete data structure representing a visual script.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 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 ScriptDataOptional description explaining what the script does.com.google.protobuf.ByteStringOptional description explaining what the script does.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEdges(int index) The list of edges connecting nodes in this script.intThe list of edges connecting nodes in this script.The list of edges connecting nodes in this script.getEdgesOrBuilder(int index) The list of edges connecting nodes in this script.List<? extends ScriptEdgeOrBuilder> The list of edges connecting nodes in this script.getId()Unique identifier for this script.com.google.protobuf.ByteStringUnique identifier for this script.The instance this script belongs to.com.google.protobuf.ByteStringThe instance this script belongs to.getName()Human-readable name for the script.com.google.protobuf.ByteStringHuman-readable name for the script.getNodes(int index) The list of nodes that make up this script's graph.intThe list of nodes that make up this script's graph.The list of nodes that make up this script's graph.getNodesOrBuilder(int index) The list of nodes that make up this script's graph.List<? extends ScriptNodeOrBuilder> The list of nodes that make up this script's graph.com.google.protobuf.Parser<ScriptData> booleanWhether this script is paused (not running).Optional resource quotas for this script.Optional resource quotas for this script.intinthashCode()booleanOptional resource quotas for this script.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ScriptData.Builderstatic ScriptData.BuildernewBuilder(ScriptData prototype) protected ScriptData.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ScriptDataparseDelimitedFrom(InputStream input) static ScriptDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptDataparseFrom(byte[] data) static ScriptDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptDataparseFrom(com.google.protobuf.ByteString data) static ScriptDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptDataparseFrom(com.google.protobuf.CodedInputStream input) static ScriptDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptDataparseFrom(InputStream input) static ScriptDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScriptDataparseFrom(ByteBuffer data) static ScriptDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ScriptData> 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:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER- See Also:
-
EDGES_FIELD_NUMBER
public static final int EDGES_FIELD_NUMBER- See Also:
-
INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER- See Also:
-
PAUSED_FIELD_NUMBER
public static final int PAUSED_FIELD_NUMBER- See Also:
-
QUOTAS_FIELD_NUMBER
public static final int QUOTAS_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 script. Format: UUID string.
string id = 1;- Specified by:
getIdin interfaceScriptDataOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for this script. Format: UUID string.
string id = 1;- Specified by:
getIdBytesin interfaceScriptDataOrBuilder- Returns:
- The bytes for id.
-
getName
Human-readable name for the script. Displayed in the UI and used for identification.
string name = 2;- Specified by:
getNamein interfaceScriptDataOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Human-readable name for the script. Displayed in the UI and used for identification.
string name = 2;- Specified by:
getNameBytesin interfaceScriptDataOrBuilder- Returns:
- The bytes for name.
-
getDescription
Optional description explaining what the script does. Displayed in script listings and detail views.
string description = 3;- Specified by:
getDescriptionin interfaceScriptDataOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional description explaining what the script does. Displayed in script listings and detail views.
string description = 3;- Specified by:
getDescriptionBytesin interfaceScriptDataOrBuilder- Returns:
- The bytes for description.
-
getNodesList
The list of nodes that make up this script's graph. Nodes are executed based on execution edge connections.
repeated .soulfire.v1.ScriptNode nodes = 4;- Specified by:
getNodesListin interfaceScriptDataOrBuilder
-
getNodesOrBuilderList
The list of nodes that make up this script's graph. Nodes are executed based on execution edge connections.
repeated .soulfire.v1.ScriptNode nodes = 4;- Specified by:
getNodesOrBuilderListin interfaceScriptDataOrBuilder
-
getNodesCount
public int getNodesCount()The list of nodes that make up this script's graph. Nodes are executed based on execution edge connections.
repeated .soulfire.v1.ScriptNode nodes = 4;- Specified by:
getNodesCountin interfaceScriptDataOrBuilder
-
getNodes
The list of nodes that make up this script's graph. Nodes are executed based on execution edge connections.
repeated .soulfire.v1.ScriptNode nodes = 4;- Specified by:
getNodesin interfaceScriptDataOrBuilder
-
getNodesOrBuilder
The list of nodes that make up this script's graph. Nodes are executed based on execution edge connections.
repeated .soulfire.v1.ScriptNode nodes = 4;- Specified by:
getNodesOrBuilderin interfaceScriptDataOrBuilder
-
getEdgesList
The list of edges connecting nodes in this script. Defines both execution flow and data transfer between nodes.
repeated .soulfire.v1.ScriptEdge edges = 5;- Specified by:
getEdgesListin interfaceScriptDataOrBuilder
-
getEdgesOrBuilderList
The list of edges connecting nodes in this script. Defines both execution flow and data transfer between nodes.
repeated .soulfire.v1.ScriptEdge edges = 5;- Specified by:
getEdgesOrBuilderListin interfaceScriptDataOrBuilder
-
getEdgesCount
public int getEdgesCount()The list of edges connecting nodes in this script. Defines both execution flow and data transfer between nodes.
repeated .soulfire.v1.ScriptEdge edges = 5;- Specified by:
getEdgesCountin interfaceScriptDataOrBuilder
-
getEdges
The list of edges connecting nodes in this script. Defines both execution flow and data transfer between nodes.
repeated .soulfire.v1.ScriptEdge edges = 5;- Specified by:
getEdgesin interfaceScriptDataOrBuilder
-
getEdgesOrBuilder
The list of edges connecting nodes in this script. Defines both execution flow and data transfer between nodes.
repeated .soulfire.v1.ScriptEdge edges = 5;- Specified by:
getEdgesOrBuilderin interfaceScriptDataOrBuilder
-
getInstanceId
The instance this script belongs to. Scripts are always associated with a specific instance. Format: UUID string.
string instance_id = 7;- Specified by:
getInstanceIdin interfaceScriptDataOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The instance this script belongs to. Scripts are always associated with a specific instance. Format: UUID string.
string instance_id = 7;- Specified by:
getInstanceIdBytesin interfaceScriptDataOrBuilder- Returns:
- The bytes for instanceId.
-
getPaused
public boolean getPaused()Whether this script is paused (not running). Scripts run by default. When paused, they won't be started on server startup or when created/updated.
bool paused = 8;- Specified by:
getPausedin interfaceScriptDataOrBuilder- Returns:
- The paused.
-
hasQuotas
public boolean hasQuotas()Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 9;- Specified by:
hasQuotasin interfaceScriptDataOrBuilder- Returns:
- Whether the quotas field is set.
-
getQuotas
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 9;- Specified by:
getQuotasin interfaceScriptDataOrBuilder- Returns:
- The quotas.
-
getQuotasOrBuilder
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 9;- Specified by:
getQuotasOrBuilderin interfaceScriptDataOrBuilder
-
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 ScriptData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScriptData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ScriptData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ScriptData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ScriptData 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 ScriptData.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
-