Class Downstream

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

public final class Downstream extends com.google.protobuf.GeneratedMessage implements DownstreamOrBuilder
Protobuf type agentscope.protocol.v1.Downstream
See Also:
  • Field Details

    • CONNECT_ACK_FIELD_NUMBER

      public static final int CONNECT_ACK_FIELD_NUMBER
      See Also:
    • CONFIG_PUSH_FIELD_NUMBER

      public static final int CONFIG_PUSH_FIELD_NUMBER
      See Also:
    • SESSION_CMD_FIELD_NUMBER

      public static final int SESSION_CMD_FIELD_NUMBER
      See Also:
    • EXECUTION_ATTEMPT_FIELD_NUMBER

      public static final int EXECUTION_ATTEMPT_FIELD_NUMBER
      See Also:
    • HEARTBEAT_FIELD_NUMBER

      public static final int HEARTBEAT_FIELD_NUMBER
      See Also:
    • CONVERSATION_TURN_FIELD_NUMBER

      public static final int CONVERSATION_TURN_FIELD_NUMBER
      See Also:
    • EVENT_ACK_FIELD_NUMBER

      public static final int EVENT_ACK_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
    • getPayloadCase

      public Downstream.PayloadCase getPayloadCase()
      Specified by:
      getPayloadCase in interface DownstreamOrBuilder
    • hasConnectAck

      public boolean hasConnectAck()
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
      Specified by:
      hasConnectAck in interface DownstreamOrBuilder
      Returns:
      Whether the connectAck field is set.
    • getConnectAck

      public ConnectResponse getConnectAck()
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
      Specified by:
      getConnectAck in interface DownstreamOrBuilder
      Returns:
      The connectAck.
    • getConnectAckOrBuilder

      public ConnectResponseOrBuilder getConnectAckOrBuilder()
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
      Specified by:
      getConnectAckOrBuilder in interface DownstreamOrBuilder
    • hasConfigPush

      public boolean hasConfigPush()
      .agentscope.protocol.v1.ConfigPush config_push = 11;
      Specified by:
      hasConfigPush in interface DownstreamOrBuilder
      Returns:
      Whether the configPush field is set.
    • getConfigPush

      public ConfigPush getConfigPush()
      .agentscope.protocol.v1.ConfigPush config_push = 11;
      Specified by:
      getConfigPush in interface DownstreamOrBuilder
      Returns:
      The configPush.
    • getConfigPushOrBuilder

      public ConfigPushOrBuilder getConfigPushOrBuilder()
      .agentscope.protocol.v1.ConfigPush config_push = 11;
      Specified by:
      getConfigPushOrBuilder in interface DownstreamOrBuilder
    • hasSessionCmd

      public boolean hasSessionCmd()
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
      Specified by:
      hasSessionCmd in interface DownstreamOrBuilder
      Returns:
      Whether the sessionCmd field is set.
    • getSessionCmd

      public SessionCommand getSessionCmd()
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
      Specified by:
      getSessionCmd in interface DownstreamOrBuilder
      Returns:
      The sessionCmd.
    • getSessionCmdOrBuilder

      public SessionCommandOrBuilder getSessionCmdOrBuilder()
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
      Specified by:
      getSessionCmdOrBuilder in interface DownstreamOrBuilder
    • hasExecutionAttempt

      public boolean hasExecutionAttempt()
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
      Specified by:
      hasExecutionAttempt in interface DownstreamOrBuilder
      Returns:
      Whether the executionAttempt field is set.
    • getExecutionAttempt

      public ExecutionAttemptCommand getExecutionAttempt()
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
      Specified by:
      getExecutionAttempt in interface DownstreamOrBuilder
      Returns:
      The executionAttempt.
    • getExecutionAttemptOrBuilder

      public ExecutionAttemptCommandOrBuilder getExecutionAttemptOrBuilder()
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
      Specified by:
      getExecutionAttemptOrBuilder in interface DownstreamOrBuilder
    • hasHeartbeat

      public boolean hasHeartbeat()
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
      Specified by:
      hasHeartbeat in interface DownstreamOrBuilder
      Returns:
      Whether the heartbeat field is set.
    • getHeartbeat

      public Heartbeat getHeartbeat()
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
      Specified by:
      getHeartbeat in interface DownstreamOrBuilder
      Returns:
      The heartbeat.
    • getHeartbeatOrBuilder

      public HeartbeatOrBuilder getHeartbeatOrBuilder()
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
      Specified by:
      getHeartbeatOrBuilder in interface DownstreamOrBuilder
    • hasConversationTurn

      public boolean hasConversationTurn()
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
      Specified by:
      hasConversationTurn in interface DownstreamOrBuilder
      Returns:
      Whether the conversationTurn field is set.
    • getConversationTurn

      public ConversationTurnCommand getConversationTurn()
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
      Specified by:
      getConversationTurn in interface DownstreamOrBuilder
      Returns:
      The conversationTurn.
    • getConversationTurnOrBuilder

      public ConversationTurnCommandOrBuilder getConversationTurnOrBuilder()
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
      Specified by:
      getConversationTurnOrBuilder in interface DownstreamOrBuilder
    • hasEventAck

      public boolean hasEventAck()
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
      Specified by:
      hasEventAck in interface DownstreamOrBuilder
      Returns:
      Whether the eventAck field is set.
    • getEventAck

      public EventReportAck getEventAck()
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
      Specified by:
      getEventAck in interface DownstreamOrBuilder
      Returns:
      The eventAck.
    • getEventAckOrBuilder

      public EventReportAckOrBuilder getEventAckOrBuilder()
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
      Specified by:
      getEventAckOrBuilder in interface DownstreamOrBuilder
    • 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 Downstream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Downstream.Builder newBuilder()
    • newBuilder

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

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

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

      public static Downstream getDefaultInstance()
    • parser

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

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