Class ConversationTurnReport

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

public final class ConversationTurnReport extends com.google.protobuf.GeneratedMessage implements ConversationTurnReportOrBuilder
Protobuf type agentscope.protocol.v1.ConversationTurnReport
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:
    • GENERATION_FIELD_NUMBER

      public static final int GENERATION_FIELD_NUMBER
      See Also:
    • ACTION_FIELD_NUMBER

      public static final int ACTION_FIELD_NUMBER
      See Also:
    • SEQUENCE_FIELD_NUMBER

      public static final int SEQUENCE_FIELD_NUMBER
      See Also:
    • PAYLOAD_FIELD_NUMBER

      public static final int PAYLOAD_FIELD_NUMBER
      See Also:
    • ERROR_CODE_FIELD_NUMBER

      public static final int ERROR_CODE_FIELD_NUMBER
      See Also:
    • ERROR_MESSAGE_FIELD_NUMBER

      public static final int ERROR_MESSAGE_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 ConversationTurnReportOrBuilder
      Returns:
      The invocationId.
    • getInvocationIdBytes

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

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

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

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

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

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

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

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

      public String getAction()
       accepted | started | delta | completed | failed | cancelled
       
      string action = 6;
      Specified by:
      getAction in interface ConversationTurnReportOrBuilder
      Returns:
      The action.
    • getActionBytes

      public com.google.protobuf.ByteString getActionBytes()
       accepted | started | delta | completed | failed | cancelled
       
      string action = 6;
      Specified by:
      getActionBytes in interface ConversationTurnReportOrBuilder
      Returns:
      The bytes for action.
    • getSequence

      public long getSequence()
      int64 sequence = 7;
      Specified by:
      getSequence in interface ConversationTurnReportOrBuilder
      Returns:
      The sequence.
    • getPayload

      public com.google.protobuf.ByteString getPayload()
      bytes payload = 8;
      Specified by:
      getPayload in interface ConversationTurnReportOrBuilder
      Returns:
      The payload.
    • getErrorCode

      public String getErrorCode()
      string error_code = 9;
      Specified by:
      getErrorCode in interface ConversationTurnReportOrBuilder
      Returns:
      The errorCode.
    • getErrorCodeBytes

      public com.google.protobuf.ByteString getErrorCodeBytes()
      string error_code = 9;
      Specified by:
      getErrorCodeBytes in interface ConversationTurnReportOrBuilder
      Returns:
      The bytes for errorCode.
    • getErrorMessage

      public String getErrorMessage()
      string error_message = 10;
      Specified by:
      getErrorMessage in interface ConversationTurnReportOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
      string error_message = 10;
      Specified by:
      getErrorMessageBytes in interface ConversationTurnReportOrBuilder
      Returns:
      The bytes for errorMessage.
    • 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 ConversationTurnReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ConversationTurnReport.Builder newBuilder()
    • newBuilder

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

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

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

      public static ConversationTurnReport getDefaultInstance()
    • parser

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

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