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

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

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

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

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

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

      public ScriptInfo.Builder mergeFrom(ScriptInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      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<ScriptInfo.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      Unique identifier for this script.
      Format: UUID string.
      
      string id = 1;
      Specified by:
      getId in interface ScriptInfoOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      Unique identifier for this script.
      Format: UUID string.
      
      string id = 1;
      Specified by:
      getIdBytes in interface ScriptInfoOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ScriptInfo.Builder setId(String value)
      Unique identifier for this script.
      Format: UUID string.
      
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ScriptInfo.Builder clearId()
      Unique identifier for this script.
      Format: UUID string.
      
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public ScriptInfo.Builder setIdBytes(com.google.protobuf.ByteString value)
      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

      public String getName()
      Human-readable name for the script.
      
      string name = 2;
      Specified by:
      getName in interface ScriptInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      Human-readable name for the script.
      
      string name = 2;
      Specified by:
      getNameBytes in interface ScriptInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ScriptInfo.Builder setName(String value)
      Human-readable name for the script.
      
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ScriptInfo.Builder clearName()
      Human-readable name for the script.
      
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ScriptInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
      Human-readable name for the script.
      
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
      Optional description of what the script does.
      
      string description = 3;
      Specified by:
      getDescription in interface ScriptInfoOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      Optional description of what the script does.
      
      string description = 3;
      Specified by:
      getDescriptionBytes in interface ScriptInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ScriptInfo.Builder setDescription(String value)
      Optional description of what the script does.
      
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ScriptInfo.Builder clearDescription()
      Optional description of what the script does.
      
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ScriptInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      Optional description of what the script does.
      
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getInstanceId

      public String getInstanceId()
      The instance this script belongs to.
      Format: UUID string.
      
      string instance_id = 5;
      Specified by:
      getInstanceId in interface ScriptInfoOrBuilder
      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:
      getInstanceIdBytes in interface ScriptInfoOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public ScriptInfo.Builder setInstanceId(String value)
      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

      public ScriptInfo.Builder clearInstanceId()
      The instance this script belongs to.
      Format: UUID string.
      
      string instance_id = 5;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public ScriptInfo.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
      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:
      hasCreatedAt in interface ScriptInfoOrBuilder
      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:
      getCreatedAt in interface ScriptInfoOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public ScriptInfo.Builder setCreatedAt(com.google.protobuf.Timestamp value)
      Timestamp when the script was first created.
      
      .google.protobuf.Timestamp created_at = 6;
    • setCreatedAt

      public ScriptInfo.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
      Timestamp when the script was first created.
      
      .google.protobuf.Timestamp created_at = 6;
    • mergeCreatedAt

      public ScriptInfo.Builder mergeCreatedAt(com.google.protobuf.Timestamp value)
      Timestamp when the script was first created.
      
      .google.protobuf.Timestamp created_at = 6;
    • clearCreatedAt

      public ScriptInfo.Builder 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:
      getCreatedAtOrBuilder in interface ScriptInfoOrBuilder
    • hasUpdatedAt

      public boolean hasUpdatedAt()
      Timestamp when the script was last modified.
      
      .google.protobuf.Timestamp updated_at = 7;
      Specified by:
      hasUpdatedAt in interface ScriptInfoOrBuilder
      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:
      getUpdatedAt in interface ScriptInfoOrBuilder
      Returns:
      The updatedAt.
    • setUpdatedAt

      public ScriptInfo.Builder setUpdatedAt(com.google.protobuf.Timestamp value)
      Timestamp when the script was last modified.
      
      .google.protobuf.Timestamp updated_at = 7;
    • setUpdatedAt

      public ScriptInfo.Builder setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
      Timestamp when the script was last modified.
      
      .google.protobuf.Timestamp updated_at = 7;
    • mergeUpdatedAt

      public ScriptInfo.Builder mergeUpdatedAt(com.google.protobuf.Timestamp value)
      Timestamp when the script was last modified.
      
      .google.protobuf.Timestamp updated_at = 7;
    • clearUpdatedAt

      public ScriptInfo.Builder 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:
      getUpdatedAtOrBuilder in interface ScriptInfoOrBuilder
    • getPaused

      public boolean getPaused()
      Whether this script is paused (not running).
      
      bool paused = 8;
      Specified by:
      getPaused in interface ScriptInfoOrBuilder
      Returns:
      The paused.
    • setPaused

      public ScriptInfo.Builder setPaused(boolean value)
      Whether this script is paused (not running).
      
      bool paused = 8;
      Parameters:
      value - The paused to set.
      Returns:
      This builder for chaining.
    • clearPaused

      public ScriptInfo.Builder clearPaused()
      Whether this script is paused (not running).
      
      bool paused = 8;
      Returns:
      This builder for chaining.