Class ScriptInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScriptInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<ScriptInfo.Builder>
com.soulfiremc.grpc.generated.ScriptInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptInfoOrBuilder, Cloneable
- Enclosing class:
ScriptInfo
public static final class ScriptInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ScriptInfo.Builder>
implements ScriptInfoOrBuilder
Summary information about a script for listing purposes. Contains metadata without the full node graph to reduce payload size.Protobuf type
soulfire.v1.ScriptInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Timestamp when the script was first created.Optional description of what the script does.clearId()Unique identifier for this script.The instance this script belongs to.Human-readable name for the script.Whether this script is paused (not running).Timestamp when the script was last modified.com.google.protobuf.TimestampTimestamp when the script was first created.com.google.protobuf.Timestamp.BuilderTimestamp when the script was first created.com.google.protobuf.TimestampOrBuilderTimestamp when the script was first created.Optional description of what the script does.com.google.protobuf.ByteStringOptional description of what the script does.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Unique identifier for this script.com.google.protobuf.ByteStringUnique identifier for this script.The instance this script belongs to.com.google.protobuf.ByteStringThe instance this script belongs to.getName()Human-readable name for the script.com.google.protobuf.ByteStringHuman-readable name for the script.booleanWhether this script is paused (not running).com.google.protobuf.TimestampTimestamp when the script was last modified.com.google.protobuf.Timestamp.BuilderTimestamp when the script was last modified.com.google.protobuf.TimestampOrBuilderTimestamp when the script was last modified.booleanTimestamp when the script was first created.booleanTimestamp when the script was last modified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreatedAt(com.google.protobuf.Timestamp value) Timestamp when the script was first created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ScriptInfo other) mergeUpdatedAt(com.google.protobuf.Timestamp value) Timestamp when the script was last modified.setCreatedAt(com.google.protobuf.Timestamp value) Timestamp when the script was first created.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the script was first created.setDescription(String value) Optional description of what the script does.setDescriptionBytes(com.google.protobuf.ByteString value) Optional description of what the script does.Unique identifier for this script.setIdBytes(com.google.protobuf.ByteString value) Unique identifier for this script.setInstanceId(String value) The instance this script belongs to.setInstanceIdBytes(com.google.protobuf.ByteString value) The instance this script belongs to.Human-readable name for the script.setNameBytes(com.google.protobuf.ByteString value) Human-readable name for the script.setPaused(boolean value) Whether this script is paused (not running).setUpdatedAt(com.google.protobuf.Timestamp value) Timestamp when the script was last modified.setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the script was last modified.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<ScriptInfo.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<ScriptInfo.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<ScriptInfo.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<ScriptInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ScriptInfo.Builder>
-
mergeFrom
public ScriptInfo.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<ScriptInfo.Builder>- Throws:
IOException
-
getId
Unique identifier for this script. Format: UUID string.
string id = 1;- Specified by:
getIdin interfaceScriptInfoOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for this script. Format: UUID string.
string id = 1;- Specified by:
getIdBytesin interfaceScriptInfoOrBuilder- Returns:
- The bytes for id.
-
setId
Unique identifier for this script. Format: UUID string.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique identifier for this script. Format: UUID string.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
Unique identifier for this script. Format: UUID string.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
Human-readable name for the script.
string name = 2;- Specified by:
getNamein interfaceScriptInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Human-readable name for the script.
string name = 2;- Specified by:
getNameBytesin interfaceScriptInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Human-readable name for the script.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Human-readable name for the script.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Human-readable name for the script.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Optional description of what the script does.
string description = 3;- Specified by:
getDescriptionin interfaceScriptInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional description of what the script does.
string description = 3;- Specified by:
getDescriptionBytesin interfaceScriptInfoOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional description of what the script does.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional description of what the script does.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional description of what the script does.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getInstanceId
The instance this script belongs to. Format: UUID string.
string instance_id = 5;- Specified by:
getInstanceIdin interfaceScriptInfoOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The instance this script belongs to. Format: UUID string.
string instance_id = 5;- Specified by:
getInstanceIdBytesin interfaceScriptInfoOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The instance this script belongs to. Format: UUID string.
string instance_id = 5;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The instance this script belongs to. Format: UUID string.
string instance_id = 5;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The instance this script belongs to. Format: UUID string.
string instance_id = 5;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
hasCreatedAt
public boolean hasCreatedAt()Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6;- Specified by:
hasCreatedAtin interfaceScriptInfoOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6;- Specified by:
getCreatedAtin interfaceScriptInfoOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6; -
setCreatedAt
Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6; -
mergeCreatedAt
Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6; -
clearCreatedAt
Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Timestamp when the script was first created.
.google.protobuf.Timestamp created_at = 6;- Specified by:
getCreatedAtOrBuilderin interfaceScriptInfoOrBuilder
-
hasUpdatedAt
public boolean hasUpdatedAt()Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7;- Specified by:
hasUpdatedAtin interfaceScriptInfoOrBuilder- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
public com.google.protobuf.Timestamp getUpdatedAt()Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7;- Specified by:
getUpdatedAtin interfaceScriptInfoOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7; -
setUpdatedAt
Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7; -
mergeUpdatedAt
Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7; -
clearUpdatedAt
Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7; -
getUpdatedAtBuilder
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder()Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7; -
getUpdatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()Timestamp when the script was last modified.
.google.protobuf.Timestamp updated_at = 7;- Specified by:
getUpdatedAtOrBuilderin interfaceScriptInfoOrBuilder
-
getPaused
public boolean getPaused()Whether this script is paused (not running).
bool paused = 8;- Specified by:
getPausedin interfaceScriptInfoOrBuilder- Returns:
- The paused.
-
setPaused
Whether this script is paused (not running).
bool paused = 8;- Parameters:
value- The paused to set.- Returns:
- This builder for chaining.
-
clearPaused
Whether this script is paused (not running).
bool paused = 8;- Returns:
- This builder for chaining.
-