Class ScriptCompleted.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScriptCompleted.Builder>
com.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
com.soulfiremc.grpc.generated.ScriptCompleted.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptCompletedOrBuilder, Cloneable
Enclosing class:
ScriptCompleted

public static final class ScriptCompleted.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder> implements ScriptCompletedOrBuilder
Event emitted when a triggered node chain finishes executing.
Note: This indicates one trigger chain completed, not that the script
is done - the script remains active and will respond to future triggers.
Protobuf type soulfire.v1.ScriptCompleted
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The ID of the script that completed the chain.
    Whether the chain completed successfully without errors.
    When the chain completed execution.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The ID of the script that completed the chain.
    com.google.protobuf.ByteString
    The ID of the script that completed the chain.
    boolean
    Whether the chain completed successfully without errors.
    com.google.protobuf.Timestamp
    When the chain completed execution.
    com.google.protobuf.Timestamp.Builder
    When the chain completed execution.
    com.google.protobuf.TimestampOrBuilder
    When the chain completed execution.
    boolean
    When the chain completed execution.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeTimestamp(com.google.protobuf.Timestamp value)
    When the chain completed execution.
    The ID of the script that completed the chain.
    setScriptIdBytes(com.google.protobuf.ByteString value)
    The ID of the script that completed the chain.
    setSuccess(boolean value)
    Whether the chain completed successfully without errors.
    setTimestamp(com.google.protobuf.Timestamp value)
    When the chain completed execution.
    setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
    When the chain completed execution.

    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
    • clear

      public ScriptCompleted.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
    • getDefaultInstanceForType

      public ScriptCompleted getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ScriptCompleted build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ScriptCompleted buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ScriptCompleted.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScriptCompleted.Builder>
    • mergeFrom

      public ScriptCompleted.Builder mergeFrom(ScriptCompleted other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
    • mergeFrom

      public ScriptCompleted.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScriptCompleted.Builder>
      Throws:
      IOException
    • getScriptId

      public String getScriptId()
      The ID of the script that completed the chain.
      
      string script_id = 1;
      Specified by:
      getScriptId in interface ScriptCompletedOrBuilder
      Returns:
      The scriptId.
    • getScriptIdBytes

      public com.google.protobuf.ByteString getScriptIdBytes()
      The ID of the script that completed the chain.
      
      string script_id = 1;
      Specified by:
      getScriptIdBytes in interface ScriptCompletedOrBuilder
      Returns:
      The bytes for scriptId.
    • setScriptId

      public ScriptCompleted.Builder setScriptId(String value)
      The ID of the script that completed the chain.
      
      string script_id = 1;
      Parameters:
      value - The scriptId to set.
      Returns:
      This builder for chaining.
    • clearScriptId

      public ScriptCompleted.Builder clearScriptId()
      The ID of the script that completed the chain.
      
      string script_id = 1;
      Returns:
      This builder for chaining.
    • setScriptIdBytes

      public ScriptCompleted.Builder setScriptIdBytes(com.google.protobuf.ByteString value)
      The ID of the script that completed the chain.
      
      string script_id = 1;
      Parameters:
      value - The bytes for scriptId to set.
      Returns:
      This builder for chaining.
    • getSuccess

      public boolean getSuccess()
      Whether the chain completed successfully without errors.
      
      bool success = 2;
      Specified by:
      getSuccess in interface ScriptCompletedOrBuilder
      Returns:
      The success.
    • setSuccess

      public ScriptCompleted.Builder setSuccess(boolean value)
      Whether the chain completed successfully without errors.
      
      bool success = 2;
      Parameters:
      value - The success to set.
      Returns:
      This builder for chaining.
    • clearSuccess

      public ScriptCompleted.Builder clearSuccess()
      Whether the chain completed successfully without errors.
      
      bool success = 2;
      Returns:
      This builder for chaining.
    • hasTimestamp

      public boolean hasTimestamp()
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
      Specified by:
      hasTimestamp in interface ScriptCompletedOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
      Specified by:
      getTimestamp in interface ScriptCompletedOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ScriptCompleted.Builder setTimestamp(com.google.protobuf.Timestamp value)
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • setTimestamp

      public ScriptCompleted.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • mergeTimestamp

      public ScriptCompleted.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • clearTimestamp

      public ScriptCompleted.Builder clearTimestamp()
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      When the chain completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
      Specified by:
      getTimestampOrBuilder in interface ScriptCompletedOrBuilder