Class ConversationTurnCommand

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.agentscope.aistio.proto.ConversationTurnCommand
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ConversationTurnCommandOrBuilder, Serializable

public final class ConversationTurnCommand extends com.google.protobuf.GeneratedMessage implements ConversationTurnCommandOrBuilder
 ConversationTurnCommand is the explicit online invocation protocol. It is
 separate from SessionCommand because user turns require public invocation
 identity, fencing, acknowledgement, streaming, and a final result.
 
Protobuf type agentscope.protocol.v1.ConversationTurnCommand
See Also:
  • Field Details

    • INVOCATION_ID_FIELD_NUMBER

      public static final int INVOCATION_ID_FIELD_NUMBER
      See Also:
    • CONVERSATION_ID_FIELD_NUMBER

      public static final int CONVERSATION_ID_FIELD_NUMBER
      See Also:
    • TURN_ID_FIELD_NUMBER

      public static final int TURN_ID_FIELD_NUMBER
      See Also:
    • SESSION_ID_FIELD_NUMBER

      public static final int SESSION_ID_FIELD_NUMBER
      See Also:
    • AGENT_ID_FIELD_NUMBER

      public static final int AGENT_ID_FIELD_NUMBER
      See Also:
    • BINDING_ID_FIELD_NUMBER

      public static final int BINDING_ID_FIELD_NUMBER
      See Also:
    • INSTANCE_ID_FIELD_NUMBER

      public static final int INSTANCE_ID_FIELD_NUMBER
      See Also:
    • GENERATION_FIELD_NUMBER

      public static final int GENERATION_FIELD_NUMBER
      See Also:
    • INPUT_FIELD_NUMBER

      public static final int INPUT_FIELD_NUMBER
      See Also:
    • DEADLINE_FIELD_NUMBER

      public static final int DEADLINE_FIELD_NUMBER
      See Also:
    • CORRELATION_ID_FIELD_NUMBER

      public static final int CORRELATION_ID_FIELD_NUMBER
      See Also:
  • 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
    • getInvocationId

      public String getInvocationId()
      string invocation_id = 1;
      Specified by:
      getInvocationId in interface ConversationTurnCommandOrBuilder
      Returns:
      The invocationId.
    • getInvocationIdBytes

      public com.google.protobuf.ByteString getInvocationIdBytes()
      string invocation_id = 1;
      Specified by:
      getInvocationIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for invocationId.
    • getConversationId

      public String getConversationId()
      string conversation_id = 2;
      Specified by:
      getConversationId in interface ConversationTurnCommandOrBuilder
      Returns:
      The conversationId.
    • getConversationIdBytes

      public com.google.protobuf.ByteString getConversationIdBytes()
      string conversation_id = 2;
      Specified by:
      getConversationIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for conversationId.
    • getTurnId

      public String getTurnId()
      string turn_id = 3;
      Specified by:
      getTurnId in interface ConversationTurnCommandOrBuilder
      Returns:
      The turnId.
    • getTurnIdBytes

      public com.google.protobuf.ByteString getTurnIdBytes()
      string turn_id = 3;
      Specified by:
      getTurnIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for turnId.
    • getSessionId

      public String getSessionId()
      string session_id = 4;
      Specified by:
      getSessionId in interface ConversationTurnCommandOrBuilder
      Returns:
      The sessionId.
    • getSessionIdBytes

      public com.google.protobuf.ByteString getSessionIdBytes()
      string session_id = 4;
      Specified by:
      getSessionIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for sessionId.
    • getAgentId

      public String getAgentId()
      string agent_id = 5;
      Specified by:
      getAgentId in interface ConversationTurnCommandOrBuilder
      Returns:
      The agentId.
    • getAgentIdBytes

      public com.google.protobuf.ByteString getAgentIdBytes()
      string agent_id = 5;
      Specified by:
      getAgentIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for agentId.
    • getBindingId

      public String getBindingId()
      string binding_id = 6;
      Specified by:
      getBindingId in interface ConversationTurnCommandOrBuilder
      Returns:
      The bindingId.
    • getBindingIdBytes

      public com.google.protobuf.ByteString getBindingIdBytes()
      string binding_id = 6;
      Specified by:
      getBindingIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for bindingId.
    • getInstanceId

      public String getInstanceId()
      string instance_id = 7;
      Specified by:
      getInstanceId in interface ConversationTurnCommandOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      string instance_id = 7;
      Specified by:
      getInstanceIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for instanceId.
    • getGeneration

      public long getGeneration()
      int64 generation = 8;
      Specified by:
      getGeneration in interface ConversationTurnCommandOrBuilder
      Returns:
      The generation.
    • getInput

      public com.google.protobuf.ByteString getInput()
      bytes input = 9;
      Specified by:
      getInput in interface ConversationTurnCommandOrBuilder
      Returns:
      The input.
    • getDeadline

      public long getDeadline()
      int64 deadline = 10;
      Specified by:
      getDeadline in interface ConversationTurnCommandOrBuilder
      Returns:
      The deadline.
    • getCorrelationId

      public String getCorrelationId()
      string correlation_id = 11;
      Specified by:
      getCorrelationId in interface ConversationTurnCommandOrBuilder
      Returns:
      The correlationId.
    • getCorrelationIdBytes

      public com.google.protobuf.ByteString getCorrelationIdBytes()
      string correlation_id = 11;
      Specified by:
      getCorrelationIdBytes in interface ConversationTurnCommandOrBuilder
      Returns:
      The bytes for correlationId.
    • 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 ConversationTurnCommand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ConversationTurnCommand.Builder newBuilder()
    • newBuilder

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

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

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

      public static ConversationTurnCommand getDefaultInstance()
    • parser

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

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