Class ScriptEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ScriptEvent
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptEventOrBuilder, Serializable

@Generated public final class ScriptEvent extends com.google.protobuf.GeneratedMessage implements ScriptEventOrBuilder
Union type for all script execution events.
Streamed to clients during script activation to provide real-time feedback.
Events represent individual trigger chain executions, not script lifecycle.
Protobuf type soulfire.v1.ScriptEvent
See Also:
  • Field Details

    • NODE_STARTED_FIELD_NUMBER

      public static final int NODE_STARTED_FIELD_NUMBER
      See Also:
    • NODE_COMPLETED_FIELD_NUMBER

      public static final int NODE_COMPLETED_FIELD_NUMBER
      See Also:
    • NODE_ERROR_FIELD_NUMBER

      public static final int NODE_ERROR_FIELD_NUMBER
      See Also:
    • SCRIPT_COMPLETED_FIELD_NUMBER

      public static final int SCRIPT_COMPLETED_FIELD_NUMBER
      See Also:
    • SCRIPT_STARTED_FIELD_NUMBER

      public static final int SCRIPT_STARTED_FIELD_NUMBER
      See Also:
    • SCRIPT_LOG_FIELD_NUMBER

      public static final int SCRIPT_LOG_FIELD_NUMBER
      See Also:
    • EXECUTION_STATS_FIELD_NUMBER

      public static final int EXECUTION_STATS_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:
      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
    • getEventCase

      public ScriptEvent.EventCase getEventCase()
      Specified by:
      getEventCase in interface ScriptEventOrBuilder
    • hasNodeStarted

      public boolean hasNodeStarted()
      A node started executing.
      
      .soulfire.v1.NodeStarted node_started = 1;
      Specified by:
      hasNodeStarted in interface ScriptEventOrBuilder
      Returns:
      Whether the nodeStarted field is set.
    • getNodeStarted

      public NodeStarted getNodeStarted()
      A node started executing.
      
      .soulfire.v1.NodeStarted node_started = 1;
      Specified by:
      getNodeStarted in interface ScriptEventOrBuilder
      Returns:
      The nodeStarted.
    • getNodeStartedOrBuilder

      public NodeStartedOrBuilder getNodeStartedOrBuilder()
      A node started executing.
      
      .soulfire.v1.NodeStarted node_started = 1;
      Specified by:
      getNodeStartedOrBuilder in interface ScriptEventOrBuilder
    • hasNodeCompleted

      public boolean hasNodeCompleted()
      A node completed execution successfully.
      
      .soulfire.v1.NodeCompleted node_completed = 2;
      Specified by:
      hasNodeCompleted in interface ScriptEventOrBuilder
      Returns:
      Whether the nodeCompleted field is set.
    • getNodeCompleted

      public NodeCompleted getNodeCompleted()
      A node completed execution successfully.
      
      .soulfire.v1.NodeCompleted node_completed = 2;
      Specified by:
      getNodeCompleted in interface ScriptEventOrBuilder
      Returns:
      The nodeCompleted.
    • getNodeCompletedOrBuilder

      public NodeCompletedOrBuilder getNodeCompletedOrBuilder()
      A node completed execution successfully.
      
      .soulfire.v1.NodeCompleted node_completed = 2;
      Specified by:
      getNodeCompletedOrBuilder in interface ScriptEventOrBuilder
    • hasNodeError

      public boolean hasNodeError()
      A node encountered an error.
      
      .soulfire.v1.NodeError node_error = 3;
      Specified by:
      hasNodeError in interface ScriptEventOrBuilder
      Returns:
      Whether the nodeError field is set.
    • getNodeError

      public NodeError getNodeError()
      A node encountered an error.
      
      .soulfire.v1.NodeError node_error = 3;
      Specified by:
      getNodeError in interface ScriptEventOrBuilder
      Returns:
      The nodeError.
    • getNodeErrorOrBuilder

      public NodeErrorOrBuilder getNodeErrorOrBuilder()
      A node encountered an error.
      
      .soulfire.v1.NodeError node_error = 3;
      Specified by:
      getNodeErrorOrBuilder in interface ScriptEventOrBuilder
    • hasScriptCompleted

      public boolean hasScriptCompleted()
      A trigger chain finished executing.
      
      .soulfire.v1.ScriptCompleted script_completed = 4;
      Specified by:
      hasScriptCompleted in interface ScriptEventOrBuilder
      Returns:
      Whether the scriptCompleted field is set.
    • getScriptCompleted

      public ScriptCompleted getScriptCompleted()
      A trigger chain finished executing.
      
      .soulfire.v1.ScriptCompleted script_completed = 4;
      Specified by:
      getScriptCompleted in interface ScriptEventOrBuilder
      Returns:
      The scriptCompleted.
    • getScriptCompletedOrBuilder

      public ScriptCompletedOrBuilder getScriptCompletedOrBuilder()
      A trigger chain finished executing.
      
      .soulfire.v1.ScriptCompleted script_completed = 4;
      Specified by:
      getScriptCompletedOrBuilder in interface ScriptEventOrBuilder
    • hasScriptStarted

      public boolean hasScriptStarted()
      A trigger fired and began executing a chain.
      
      .soulfire.v1.ScriptStarted script_started = 5;
      Specified by:
      hasScriptStarted in interface ScriptEventOrBuilder
      Returns:
      Whether the scriptStarted field is set.
    • getScriptStarted

      public ScriptStarted getScriptStarted()
      A trigger fired and began executing a chain.
      
      .soulfire.v1.ScriptStarted script_started = 5;
      Specified by:
      getScriptStarted in interface ScriptEventOrBuilder
      Returns:
      The scriptStarted.
    • getScriptStartedOrBuilder

      public ScriptStartedOrBuilder getScriptStartedOrBuilder()
      A trigger fired and began executing a chain.
      
      .soulfire.v1.ScriptStarted script_started = 5;
      Specified by:
      getScriptStartedOrBuilder in interface ScriptEventOrBuilder
    • hasScriptLog

      public boolean hasScriptLog()
      A script logged a message.
      
      .soulfire.v1.ScriptLog script_log = 6;
      Specified by:
      hasScriptLog in interface ScriptEventOrBuilder
      Returns:
      Whether the scriptLog field is set.
    • getScriptLog

      public ScriptLog getScriptLog()
      A script logged a message.
      
      .soulfire.v1.ScriptLog script_log = 6;
      Specified by:
      getScriptLog in interface ScriptEventOrBuilder
      Returns:
      The scriptLog.
    • getScriptLogOrBuilder

      public ScriptLogOrBuilder getScriptLogOrBuilder()
      A script logged a message.
      
      .soulfire.v1.ScriptLog script_log = 6;
      Specified by:
      getScriptLogOrBuilder in interface ScriptEventOrBuilder
    • hasExecutionStats

      public boolean hasExecutionStats()
      Execution statistics for a completed trigger chain.
      
      .soulfire.v1.ExecutionStats execution_stats = 7;
      Specified by:
      hasExecutionStats in interface ScriptEventOrBuilder
      Returns:
      Whether the executionStats field is set.
    • getExecutionStats

      public ExecutionStats getExecutionStats()
      Execution statistics for a completed trigger chain.
      
      .soulfire.v1.ExecutionStats execution_stats = 7;
      Specified by:
      getExecutionStats in interface ScriptEventOrBuilder
      Returns:
      The executionStats.
    • getExecutionStatsOrBuilder

      public ExecutionStatsOrBuilder getExecutionStatsOrBuilder()
      Execution statistics for a completed trigger chain.
      
      .soulfire.v1.ExecutionStats execution_stats = 7;
      Specified by:
      getExecutionStatsOrBuilder in interface ScriptEventOrBuilder
    • 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 ScriptEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static ScriptEvent.Builder newBuilder()
    • newBuilder

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

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

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

      public static ScriptEvent getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ScriptEvent> 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 ScriptEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder