Class ExecutionAttemptCommand.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptCommand.Builder>
io.agentscope.aistio.proto.ExecutionAttemptCommand.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExecutionAttemptCommandOrBuilder, Cloneable
Enclosing class:
ExecutionAttemptCommand

public static final class ExecutionAttemptCommand.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptCommand.Builder> implements ExecutionAttemptCommandOrBuilder
Protobuf type agentscope.protocol.v1.ExecutionAttemptCommand
  • 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<ExecutionAttemptCommand.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<ExecutionAttemptCommand.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<ExecutionAttemptCommand.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExecutionAttemptCommand.Builder>
    • mergeFrom

      public ExecutionAttemptCommand.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<ExecutionAttemptCommand.Builder>
      Throws:
      IOException
    • getAttemptId

      public String getAttemptId()
      string attempt_id = 1;
      Specified by:
      getAttemptId in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The attemptId.
    • getAttemptIdBytes

      public com.google.protobuf.ByteString getAttemptIdBytes()
      string attempt_id = 1;
      Specified by:
      getAttemptIdBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for attemptId.
    • setAttemptId

      public ExecutionAttemptCommand.Builder setAttemptId(String value)
      string attempt_id = 1;
      Parameters:
      value - The attemptId to set.
      Returns:
      This builder for chaining.
    • clearAttemptId

      public ExecutionAttemptCommand.Builder clearAttemptId()
      string attempt_id = 1;
      Returns:
      This builder for chaining.
    • setAttemptIdBytes

      public ExecutionAttemptCommand.Builder setAttemptIdBytes(com.google.protobuf.ByteString value)
      string attempt_id = 1;
      Parameters:
      value - The bytes for attemptId to set.
      Returns:
      This builder for chaining.
    • getAgentTaskId

      public String getAgentTaskId()
      string agent_task_id = 2;
      Specified by:
      getAgentTaskId in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The agentTaskId.
    • getAgentTaskIdBytes

      public com.google.protobuf.ByteString getAgentTaskIdBytes()
      string agent_task_id = 2;
      Specified by:
      getAgentTaskIdBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for agentTaskId.
    • setAgentTaskId

      public ExecutionAttemptCommand.Builder setAgentTaskId(String value)
      string agent_task_id = 2;
      Parameters:
      value - The agentTaskId to set.
      Returns:
      This builder for chaining.
    • clearAgentTaskId

      public ExecutionAttemptCommand.Builder clearAgentTaskId()
      string agent_task_id = 2;
      Returns:
      This builder for chaining.
    • setAgentTaskIdBytes

      public ExecutionAttemptCommand.Builder setAgentTaskIdBytes(com.google.protobuf.ByteString value)
      string agent_task_id = 2;
      Parameters:
      value - The bytes for agentTaskId to set.
      Returns:
      This builder for chaining.
    • getRunId

      public String getRunId()
      string run_id = 3;
      Specified by:
      getRunId in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
      string run_id = 3;
      Specified by:
      getRunIdBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      public ExecutionAttemptCommand.Builder setRunId(String value)
      string run_id = 3;
      Parameters:
      value - The runId to set.
      Returns:
      This builder for chaining.
    • clearRunId

      public ExecutionAttemptCommand.Builder clearRunId()
      string run_id = 3;
      Returns:
      This builder for chaining.
    • setRunIdBytes

      public ExecutionAttemptCommand.Builder setRunIdBytes(com.google.protobuf.ByteString value)
      string run_id = 3;
      Parameters:
      value - The bytes for runId to set.
      Returns:
      This builder for chaining.
    • getNodeId

      public String getNodeId()
      string node_id = 4;
      Specified by:
      getNodeId in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The nodeId.
    • getNodeIdBytes

      public com.google.protobuf.ByteString getNodeIdBytes()
      string node_id = 4;
      Specified by:
      getNodeIdBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for nodeId.
    • setNodeId

      public ExecutionAttemptCommand.Builder setNodeId(String value)
      string node_id = 4;
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

      public ExecutionAttemptCommand.Builder clearNodeId()
      string node_id = 4;
      Returns:
      This builder for chaining.
    • setNodeIdBytes

      public ExecutionAttemptCommand.Builder setNodeIdBytes(com.google.protobuf.ByteString value)
      string node_id = 4;
      Parameters:
      value - The bytes for nodeId to set.
      Returns:
      This builder for chaining.
    • getGeneration

      public long getGeneration()
      int64 generation = 5;
      Specified by:
      getGeneration in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The generation.
    • setGeneration

      public ExecutionAttemptCommand.Builder setGeneration(long value)
      int64 generation = 5;
      Parameters:
      value - The generation to set.
      Returns:
      This builder for chaining.
    • clearGeneration

      public ExecutionAttemptCommand.Builder clearGeneration()
      int64 generation = 5;
      Returns:
      This builder for chaining.
    • getCommand

      public String getCommand()
       dispatch | cancel
       
      string command = 6;
      Specified by:
      getCommand in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The command.
    • getCommandBytes

      public com.google.protobuf.ByteString getCommandBytes()
       dispatch | cancel
       
      string command = 6;
      Specified by:
      getCommandBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for command.
    • setCommand

      public ExecutionAttemptCommand.Builder setCommand(String value)
       dispatch | cancel
       
      string command = 6;
      Parameters:
      value - The command to set.
      Returns:
      This builder for chaining.
    • clearCommand

      public ExecutionAttemptCommand.Builder clearCommand()
       dispatch | cancel
       
      string command = 6;
      Returns:
      This builder for chaining.
    • setCommandBytes

      public ExecutionAttemptCommand.Builder setCommandBytes(com.google.protobuf.ByteString value)
       dispatch | cancel
       
      string command = 6;
      Parameters:
      value - The bytes for command to set.
      Returns:
      This builder for chaining.
    • getContextUrl

      public String getContextUrl()
      string context_url = 7;
      Specified by:
      getContextUrl in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The contextUrl.
    • getContextUrlBytes

      public com.google.protobuf.ByteString getContextUrlBytes()
      string context_url = 7;
      Specified by:
      getContextUrlBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for contextUrl.
    • setContextUrl

      public ExecutionAttemptCommand.Builder setContextUrl(String value)
      string context_url = 7;
      Parameters:
      value - The contextUrl to set.
      Returns:
      This builder for chaining.
    • clearContextUrl

      public ExecutionAttemptCommand.Builder clearContextUrl()
      string context_url = 7;
      Returns:
      This builder for chaining.
    • setContextUrlBytes

      public ExecutionAttemptCommand.Builder setContextUrlBytes(com.google.protobuf.ByteString value)
      string context_url = 7;
      Parameters:
      value - The bytes for contextUrl to set.
      Returns:
      This builder for chaining.
    • getTaskToken

      public String getTaskToken()
      string task_token = 8;
      Specified by:
      getTaskToken in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The taskToken.
    • getTaskTokenBytes

      public com.google.protobuf.ByteString getTaskTokenBytes()
      string task_token = 8;
      Specified by:
      getTaskTokenBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for taskToken.
    • setTaskToken

      public ExecutionAttemptCommand.Builder setTaskToken(String value)
      string task_token = 8;
      Parameters:
      value - The taskToken to set.
      Returns:
      This builder for chaining.
    • clearTaskToken

      public ExecutionAttemptCommand.Builder clearTaskToken()
      string task_token = 8;
      Returns:
      This builder for chaining.
    • setTaskTokenBytes

      public ExecutionAttemptCommand.Builder setTaskTokenBytes(com.google.protobuf.ByteString value)
      string task_token = 8;
      Parameters:
      value - The bytes for taskToken to set.
      Returns:
      This builder for chaining.
    • getAttemptToken

      public String getAttemptToken()
      string attempt_token = 9;
      Specified by:
      getAttemptToken in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The attemptToken.
    • getAttemptTokenBytes

      public com.google.protobuf.ByteString getAttemptTokenBytes()
      string attempt_token = 9;
      Specified by:
      getAttemptTokenBytes in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The bytes for attemptToken.
    • setAttemptToken

      public ExecutionAttemptCommand.Builder setAttemptToken(String value)
      string attempt_token = 9;
      Parameters:
      value - The attemptToken to set.
      Returns:
      This builder for chaining.
    • clearAttemptToken

      public ExecutionAttemptCommand.Builder clearAttemptToken()
      string attempt_token = 9;
      Returns:
      This builder for chaining.
    • setAttemptTokenBytes

      public ExecutionAttemptCommand.Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)
      string attempt_token = 9;
      Parameters:
      value - The bytes for attemptToken to set.
      Returns:
      This builder for chaining.
    • getRuntimeBinding

      public com.google.protobuf.ByteString getRuntimeBinding()
      bytes runtime_binding = 10;
      Specified by:
      getRuntimeBinding in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The runtimeBinding.
    • setRuntimeBinding

      public ExecutionAttemptCommand.Builder setRuntimeBinding(com.google.protobuf.ByteString value)
      bytes runtime_binding = 10;
      Parameters:
      value - The runtimeBinding to set.
      Returns:
      This builder for chaining.
    • clearRuntimeBinding

      public ExecutionAttemptCommand.Builder clearRuntimeBinding()
      bytes runtime_binding = 10;
      Returns:
      This builder for chaining.
    • getPayload

      public com.google.protobuf.ByteString getPayload()
      bytes payload = 11;
      Specified by:
      getPayload in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The payload.
    • setPayload

      public ExecutionAttemptCommand.Builder setPayload(com.google.protobuf.ByteString value)
      bytes payload = 11;
      Parameters:
      value - The payload to set.
      Returns:
      This builder for chaining.
    • clearPayload

      public ExecutionAttemptCommand.Builder clearPayload()
      bytes payload = 11;
      Returns:
      This builder for chaining.
    • getTimestamp

      public long getTimestamp()
      int64 timestamp = 12;
      Specified by:
      getTimestamp in interface ExecutionAttemptCommandOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ExecutionAttemptCommand.Builder setTimestamp(long value)
      int64 timestamp = 12;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public ExecutionAttemptCommand.Builder clearTimestamp()
      int64 timestamp = 12;
      Returns:
      This builder for chaining.