Class UpdateScriptRequest

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

@Generated public final class UpdateScriptRequest extends com.google.protobuf.GeneratedMessage implements UpdateScriptRequestOrBuilder
Request to update an existing script.
Protobuf type soulfire.v1.UpdateScriptRequest
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 containing the script.
      Format: UUID string.
      
      string instance_id = 1;
      Specified by:
      getInstanceId in interface UpdateScriptRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

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

      public String getScriptId()
      The ID of the script to update.
      Format: UUID string.
      
      string script_id = 2;
      Specified by:
      getScriptId in interface UpdateScriptRequestOrBuilder
      Returns:
      The scriptId.
    • getScriptIdBytes

      public com.google.protobuf.ByteString getScriptIdBytes()
      The ID of the script to update.
      Format: UUID string.
      
      string script_id = 2;
      Specified by:
      getScriptIdBytes in interface UpdateScriptRequestOrBuilder
      Returns:
      The bytes for scriptId.
    • hasName

      public boolean hasName()
      Updated name for the script.
      If not set, the name remains unchanged.
      
      optional string name = 3;
      Specified by:
      hasName in interface UpdateScriptRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      Updated name for the script.
      If not set, the name remains unchanged.
      
      optional string name = 3;
      Specified by:
      getName in interface UpdateScriptRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      Updated name for the script.
      If not set, the name remains unchanged.
      
      optional string name = 3;
      Specified by:
      getNameBytes in interface UpdateScriptRequestOrBuilder
      Returns:
      The bytes for name.
    • hasDescription

      public boolean hasDescription()
      Updated description for the script.
      If not set, the description remains unchanged.
      
      optional string description = 4;
      Specified by:
      hasDescription in interface UpdateScriptRequestOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      Updated description for the script.
      If not set, the description remains unchanged.
      
      optional string description = 4;
      Specified by:
      getDescription in interface UpdateScriptRequestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      Updated description for the script.
      If not set, the description remains unchanged.
      
      optional string description = 4;
      Specified by:
      getDescriptionBytes in interface UpdateScriptRequestOrBuilder
      Returns:
      The bytes for description.
    • getNodesList

      public List<ScriptNode> getNodesList()
      Updated list of nodes.
      If provided, replaces the entire node list.
      If not provided, nodes remain unchanged.
      
      repeated .soulfire.v1.ScriptNode nodes = 6;
      Specified by:
      getNodesList in interface UpdateScriptRequestOrBuilder
    • getNodesOrBuilderList

      public List<? extends ScriptNodeOrBuilder> getNodesOrBuilderList()
      Updated list of nodes.
      If provided, replaces the entire node list.
      If not provided, nodes remain unchanged.
      
      repeated .soulfire.v1.ScriptNode nodes = 6;
      Specified by:
      getNodesOrBuilderList in interface UpdateScriptRequestOrBuilder
    • getNodesCount

      public int getNodesCount()
      Updated list of nodes.
      If provided, replaces the entire node list.
      If not provided, nodes remain unchanged.
      
      repeated .soulfire.v1.ScriptNode nodes = 6;
      Specified by:
      getNodesCount in interface UpdateScriptRequestOrBuilder
    • getNodes

      public ScriptNode getNodes(int index)
      Updated list of nodes.
      If provided, replaces the entire node list.
      If not provided, nodes remain unchanged.
      
      repeated .soulfire.v1.ScriptNode nodes = 6;
      Specified by:
      getNodes in interface UpdateScriptRequestOrBuilder
    • getNodesOrBuilder

      public ScriptNodeOrBuilder getNodesOrBuilder(int index)
      Updated list of nodes.
      If provided, replaces the entire node list.
      If not provided, nodes remain unchanged.
      
      repeated .soulfire.v1.ScriptNode nodes = 6;
      Specified by:
      getNodesOrBuilder in interface UpdateScriptRequestOrBuilder
    • getEdgesList

      public List<ScriptEdge> getEdgesList()
      Updated list of edges.
      If provided, replaces the entire edge list.
      If not provided, edges remain unchanged.
      
      repeated .soulfire.v1.ScriptEdge edges = 7;
      Specified by:
      getEdgesList in interface UpdateScriptRequestOrBuilder
    • getEdgesOrBuilderList

      public List<? extends ScriptEdgeOrBuilder> getEdgesOrBuilderList()
      Updated list of edges.
      If provided, replaces the entire edge list.
      If not provided, edges remain unchanged.
      
      repeated .soulfire.v1.ScriptEdge edges = 7;
      Specified by:
      getEdgesOrBuilderList in interface UpdateScriptRequestOrBuilder
    • getEdgesCount

      public int getEdgesCount()
      Updated list of edges.
      If provided, replaces the entire edge list.
      If not provided, edges remain unchanged.
      
      repeated .soulfire.v1.ScriptEdge edges = 7;
      Specified by:
      getEdgesCount in interface UpdateScriptRequestOrBuilder
    • getEdges

      public ScriptEdge getEdges(int index)
      Updated list of edges.
      If provided, replaces the entire edge list.
      If not provided, edges remain unchanged.
      
      repeated .soulfire.v1.ScriptEdge edges = 7;
      Specified by:
      getEdges in interface UpdateScriptRequestOrBuilder
    • getEdgesOrBuilder

      public ScriptEdgeOrBuilder getEdgesOrBuilder(int index)
      Updated list of edges.
      If provided, replaces the entire edge list.
      If not provided, edges remain unchanged.
      
      repeated .soulfire.v1.ScriptEdge edges = 7;
      Specified by:
      getEdgesOrBuilder in interface UpdateScriptRequestOrBuilder
    • getUpdateNodes

      public boolean getUpdateNodes()
      Whether the nodes field should be updated (allows setting to empty list).
      
      bool update_nodes = 8;
      Specified by:
      getUpdateNodes in interface UpdateScriptRequestOrBuilder
      Returns:
      The updateNodes.
    • getUpdateEdges

      public boolean getUpdateEdges()
      Whether the edges field should be updated (allows setting to empty list).
      
      bool update_edges = 9;
      Specified by:
      getUpdateEdges in interface UpdateScriptRequestOrBuilder
      Returns:
      The updateEdges.
    • hasPaused

      public boolean hasPaused()
      Updated paused setting.
      If not set, the paused setting remains unchanged.
      If set to false and script was paused, the script will be restarted.
      
      optional bool paused = 10;
      Specified by:
      hasPaused in interface UpdateScriptRequestOrBuilder
      Returns:
      Whether the paused field is set.
    • getPaused

      public boolean getPaused()
      Updated paused setting.
      If not set, the paused setting remains unchanged.
      If set to false and script was paused, the script will be restarted.
      
      optional bool paused = 10;
      Specified by:
      getPaused in interface UpdateScriptRequestOrBuilder
      Returns:
      The paused.
    • hasQuotas

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

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

      public ScriptQuotasOrBuilder getQuotasOrBuilder()
      Updated resource quotas for this script.
      
      .soulfire.v1.ScriptQuotas quotas = 11;
      Specified by:
      getQuotasOrBuilder in interface UpdateScriptRequestOrBuilder
    • getUpdateQuotas

      public boolean getUpdateQuotas()
      Whether the quotas field should be updated (allows clearing quotas).
      
      bool update_quotas = 12;
      Specified by:
      getUpdateQuotas in interface UpdateScriptRequestOrBuilder
      Returns:
      The updateQuotas.
    • 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 UpdateScriptRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpdateScriptRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static UpdateScriptRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<UpdateScriptRequest> 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 UpdateScriptRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder