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 TypeMethodDescriptionbuild()clear()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.Descriptorcom.google.protobuf.Descriptors.DescriptorThe ID of the script that completed the chain.com.google.protobuf.ByteStringThe ID of the script that completed the chain.booleanWhether the chain completed successfully without errors.com.google.protobuf.TimestampWhen the chain completed execution.com.google.protobuf.Timestamp.BuilderWhen the chain completed execution.com.google.protobuf.TimestampOrBuilderWhen the chain completed execution.booleanWhen the chain completed execution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ScriptCompleted other) mergeTimestamp(com.google.protobuf.Timestamp value) When the chain completed execution.setScriptId(String value) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ScriptCompleted.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScriptCompleted.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScriptCompleted.Builder>- Throws:
IOException
-
getScriptId
The ID of the script that completed the chain.
string script_id = 1;- Specified by:
getScriptIdin interfaceScriptCompletedOrBuilder- 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:
getScriptIdBytesin interfaceScriptCompletedOrBuilder- Returns:
- The bytes for scriptId.
-
setScriptId
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
The ID of the script that completed the chain.
string script_id = 1;- Returns:
- This builder for chaining.
-
setScriptIdBytes
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:
getSuccessin interfaceScriptCompletedOrBuilder- Returns:
- The success.
-
setSuccess
Whether the chain completed successfully without errors.
bool success = 2;- Parameters:
value- The success to set.- Returns:
- This builder for chaining.
-
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:
hasTimestampin interfaceScriptCompletedOrBuilder- 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:
getTimestampin interfaceScriptCompletedOrBuilder- Returns:
- The timestamp.
-
setTimestamp
When the chain completed execution.
.google.protobuf.Timestamp timestamp = 3; -
setTimestamp
When the chain completed execution.
.google.protobuf.Timestamp timestamp = 3; -
mergeTimestamp
When the chain completed execution.
.google.protobuf.Timestamp timestamp = 3; -
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:
getTimestampOrBuilderin interfaceScriptCompletedOrBuilder
-