Class CreateScriptRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.CreateScriptRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateScriptRequestOrBuilder, Serializable

@Generated public final class CreateScriptRequest extends com.google.protobuf.GeneratedMessage implements CreateScriptRequestOrBuilder
Request to create a new script.
Protobuf type soulfire.v1.CreateScriptRequest
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getInstanceId

      public String getInstanceId()
      The instance to create the script in.
      Format: UUID string.
      
      string instance_id = 1;
      Specified by:
      getInstanceId in interface CreateScriptRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      The instance to create the script in.
      Format: UUID string.
      
      string instance_id = 1;
      Specified by:
      getInstanceIdBytes in interface CreateScriptRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • getName

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

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

      public String getDescription()
      Optional description of what the script does.
      
      string description = 3;
      Specified by:
      getDescription in interface CreateScriptRequestOrBuilder
      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 CreateScriptRequestOrBuilder
      Returns:
      The bytes for description.
    • getNodesList

      public List<ScriptNode> getNodesList()
      Initial nodes for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptNode nodes = 5;
      Specified by:
      getNodesList in interface CreateScriptRequestOrBuilder
    • getNodesOrBuilderList

      public List<? extends ScriptNodeOrBuilder> getNodesOrBuilderList()
      Initial nodes for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptNode nodes = 5;
      Specified by:
      getNodesOrBuilderList in interface CreateScriptRequestOrBuilder
    • getNodesCount

      public int getNodesCount()
      Initial nodes for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptNode nodes = 5;
      Specified by:
      getNodesCount in interface CreateScriptRequestOrBuilder
    • getNodes

      public ScriptNode getNodes(int index)
      Initial nodes for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptNode nodes = 5;
      Specified by:
      getNodes in interface CreateScriptRequestOrBuilder
    • getNodesOrBuilder

      public ScriptNodeOrBuilder getNodesOrBuilder(int index)
      Initial nodes for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptNode nodes = 5;
      Specified by:
      getNodesOrBuilder in interface CreateScriptRequestOrBuilder
    • getEdgesList

      public List<ScriptEdge> getEdgesList()
      Initial edges for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptEdge edges = 6;
      Specified by:
      getEdgesList in interface CreateScriptRequestOrBuilder
    • getEdgesOrBuilderList

      public List<? extends ScriptEdgeOrBuilder> getEdgesOrBuilderList()
      Initial edges for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptEdge edges = 6;
      Specified by:
      getEdgesOrBuilderList in interface CreateScriptRequestOrBuilder
    • getEdgesCount

      public int getEdgesCount()
      Initial edges for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptEdge edges = 6;
      Specified by:
      getEdgesCount in interface CreateScriptRequestOrBuilder
    • getEdges

      public ScriptEdge getEdges(int index)
      Initial edges for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptEdge edges = 6;
      Specified by:
      getEdges in interface CreateScriptRequestOrBuilder
    • getEdgesOrBuilder

      public ScriptEdgeOrBuilder getEdgesOrBuilder(int index)
      Initial edges for the script graph.
      Can be empty to create a blank script.
      
      repeated .soulfire.v1.ScriptEdge edges = 6;
      Specified by:
      getEdgesOrBuilder in interface CreateScriptRequestOrBuilder
    • getPaused

      public boolean getPaused()
      Whether the script should be created in paused state.
      If false (default), the script starts running immediately after creation.
      
      bool paused = 7;
      Specified by:
      getPaused in interface CreateScriptRequestOrBuilder
      Returns:
      The paused.
    • hasQuotas

      public boolean hasQuotas()
      Optional resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 8;
      Specified by:
      hasQuotas in interface CreateScriptRequestOrBuilder
      Returns:
      Whether the quotas field is set.
    • getQuotas

      public ScriptQuotas getQuotas()
      Optional resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 8;
      Specified by:
      getQuotas in interface CreateScriptRequestOrBuilder
      Returns:
      The quotas.
    • getQuotasOrBuilder

      public ScriptQuotasOrBuilder getQuotasOrBuilder()
      Optional resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 8;
      Specified by:
      getQuotasOrBuilder in interface CreateScriptRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CreateScriptRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateScriptRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateScriptRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateScriptRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateScriptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateScriptRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateScriptRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateScriptRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateScriptRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateScriptRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateScriptRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateScriptRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CreateScriptRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CreateScriptRequest.Builder newBuilder()
    • newBuilder

      public static CreateScriptRequest.Builder newBuilder(CreateScriptRequest prototype)
    • toBuilder

      public CreateScriptRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CreateScriptRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CreateScriptRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CreateScriptRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CreateScriptRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CreateScriptRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder