Class ScriptStarted.Builder

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

public static final class ScriptStarted.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScriptStarted.Builder> implements ScriptStartedOrBuilder
Event emitted when a trigger fires and begins executing a node chain.
Note: Scripts are reactive - this indicates a trigger event occurred,
not that the script "started running" in the traditional sense.
Protobuf type soulfire.v1.ScriptStarted
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The ID of the script containing the triggered chain.
    When the trigger fired and execution began.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The ID of the script containing the triggered chain.
    com.google.protobuf.ByteString
    The ID of the script containing the triggered chain.
    com.google.protobuf.Timestamp
    When the trigger fired and execution began.
    com.google.protobuf.Timestamp.Builder
    When the trigger fired and execution began.
    com.google.protobuf.TimestampOrBuilder
    When the trigger fired and execution began.
    boolean
    When the trigger fired and execution began.
    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 trigger fired and execution began.
    The ID of the script containing the triggered chain.
    setScriptIdBytes(com.google.protobuf.ByteString value)
    The ID of the script containing the triggered chain.
    setTimestamp(com.google.protobuf.Timestamp value)
    When the trigger fired and execution began.
    setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
    When the trigger fired and execution began.

    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<ScriptStarted.Builder>
    • clear

      public ScriptStarted.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<ScriptStarted.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<ScriptStarted.Builder>
    • getDefaultInstanceForType

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

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

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

      public ScriptStarted.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<ScriptStarted.Builder>
    • mergeFrom

      public ScriptStarted.Builder mergeFrom(ScriptStarted other)
    • isInitialized

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

      public ScriptStarted.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<ScriptStarted.Builder>
      Throws:
      IOException
    • getScriptId

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

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

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

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

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

      public boolean hasTimestamp()
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
      Specified by:
      hasTimestamp in interface ScriptStartedOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
      Specified by:
      getTimestamp in interface ScriptStartedOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ScriptStarted.Builder setTimestamp(com.google.protobuf.Timestamp value)
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
    • setTimestamp

      public ScriptStarted.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
    • mergeTimestamp

      public ScriptStarted.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
    • clearTimestamp

      public ScriptStarted.Builder clearTimestamp()
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      When the trigger fired and execution began.
      
      .google.protobuf.Timestamp timestamp = 2;
      Specified by:
      getTimestampOrBuilder in interface ScriptStartedOrBuilder