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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Complete 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static ScriptData
     
     
    Optional description explaining what the script does.
    com.google.protobuf.ByteString
    Optional description explaining what the script does.
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getEdges(int index)
    The list of edges connecting nodes in this script.
    int
    The 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.
    The list of edges connecting nodes in this script.
    Unique identifier for this script.
    com.google.protobuf.ByteString
    Unique identifier for this script.
    The instance this script belongs to.
    com.google.protobuf.ByteString
    The instance this script belongs to.
    Human-readable name for the script.
    com.google.protobuf.ByteString
    Human-readable name for the script.
    getNodes(int index)
    The list of nodes that make up this script's graph.
    int
    The 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.
    The list of nodes that make up this script's graph.
    com.google.protobuf.Parser<ScriptData>
     
    boolean
    Whether this script is paused (not running).
    Optional resource quotas for this script.
    Optional resource quotas for this script.
    int
     
    int
     
    boolean
    Optional resource quotas for this script.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static ScriptData
     
    static ScriptData
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScriptData
    parseFrom(byte[] data)
     
    static ScriptData
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScriptData
    parseFrom(com.google.protobuf.ByteString data)
     
    static ScriptData
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScriptData
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ScriptData
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScriptData
     
    static ScriptData
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScriptData
     
    static ScriptData
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ScriptData>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getId

      public String getId()
      Unique identifier for this script.
      Format: UUID string.
      
      string id = 1;
      Specified by:
      getId in interface ScriptDataOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      Unique identifier for this script.
      Format: UUID string.
      
      string id = 1;
      Specified by:
      getIdBytes in interface ScriptDataOrBuilder
      Returns:
      The bytes for id.
    • getName

      public String getName()
      Human-readable name for the script.
      Displayed in the UI and used for identification.
      
      string name = 2;
      Specified by:
      getName in interface ScriptDataOrBuilder
      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:
      getNameBytes in interface ScriptDataOrBuilder
      Returns:
      The bytes for name.
    • getDescription

      public String getDescription()
      Optional description explaining what the script does.
      Displayed in script listings and detail views.
      
      string description = 3;
      Specified by:
      getDescription in interface ScriptDataOrBuilder
      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:
      getDescriptionBytes in interface ScriptDataOrBuilder
      Returns:
      The bytes for description.
    • getNodesList

      public List<ScriptNode> 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:
      getNodesList in interface ScriptDataOrBuilder
    • getNodesOrBuilderList

      public List<? extends ScriptNodeOrBuilder> 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:
      getNodesOrBuilderList in interface ScriptDataOrBuilder
    • 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:
      getNodesCount in interface ScriptDataOrBuilder
    • getNodes

      public ScriptNode getNodes(int index)
      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:
      getNodes in interface ScriptDataOrBuilder
    • getNodesOrBuilder

      public ScriptNodeOrBuilder getNodesOrBuilder(int index)
      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:
      getNodesOrBuilder in interface ScriptDataOrBuilder
    • getEdgesList

      public List<ScriptEdge> 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:
      getEdgesList in interface ScriptDataOrBuilder
    • getEdgesOrBuilderList

      public List<? extends ScriptEdgeOrBuilder> 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:
      getEdgesOrBuilderList in interface ScriptDataOrBuilder
    • 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:
      getEdgesCount in interface ScriptDataOrBuilder
    • getEdges

      public ScriptEdge getEdges(int index)
      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:
      getEdges in interface ScriptDataOrBuilder
    • getEdgesOrBuilder

      public ScriptEdgeOrBuilder getEdgesOrBuilder(int index)
      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:
      getEdgesOrBuilder in interface ScriptDataOrBuilder
    • getInstanceId

      public String getInstanceId()
      The instance this script belongs to.
      Scripts are always associated with a specific instance.
      Format: UUID string.
      
      string instance_id = 7;
      Specified by:
      getInstanceId in interface ScriptDataOrBuilder
      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:
      getInstanceIdBytes in interface ScriptDataOrBuilder
      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:
      getPaused in interface ScriptDataOrBuilder
      Returns:
      The paused.
    • hasQuotas

      public boolean hasQuotas()
      Optional resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 9;
      Specified by:
      hasQuotas in interface ScriptDataOrBuilder
      Returns:
      Whether the quotas field is set.
    • getQuotas

      public ScriptQuotas getQuotas()
      Optional resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 9;
      Specified by:
      getQuotas in interface ScriptDataOrBuilder
      Returns:
      The quotas.
    • getQuotasOrBuilder

      public ScriptQuotasOrBuilder getQuotasOrBuilder()
      Optional resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 9;
      Specified by:
      getQuotasOrBuilder in interface ScriptDataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ScriptData parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScriptData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScriptData parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScriptData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScriptData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScriptData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ScriptData.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ScriptData.Builder newBuilder()
    • newBuilder

      public static ScriptData.Builder newBuilder(ScriptData prototype)
    • toBuilder

      public ScriptData.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ScriptData.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ScriptData getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ScriptData> parser()
    • getParserForType

      public com.google.protobuf.Parser<ScriptData> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ScriptData getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder