Class Upstream

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

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

    • META_FIELD_NUMBER

      public static final int META_FIELD_NUMBER
      See Also:
    • CONNECT_FIELD_NUMBER

      public static final int CONNECT_FIELD_NUMBER
      See Also:
    • CONFIG_ACK_FIELD_NUMBER

      public static final int CONFIG_ACK_FIELD_NUMBER
      See Also:
    • SESSION_REPORT_FIELD_NUMBER

      public static final int SESSION_REPORT_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:
    • EVENT_REPORT_FIELD_NUMBER

      public static final int EVENT_REPORT_FIELD_NUMBER
      See Also:
    • CONTEXT_REPORT_FIELD_NUMBER

      public static final int CONTEXT_REPORT_FIELD_NUMBER
      See Also:
    • INVENTORY_FIELD_NUMBER

      public static final int INVENTORY_FIELD_NUMBER
      See Also:
    • CONVERSATION_TURN_FIELD_NUMBER

      public static final int CONVERSATION_TURN_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 Upstream.PayloadCase getPayloadCase()
      Specified by:
      getPayloadCase in interface UpstreamOrBuilder
    • hasMeta

      public boolean hasMeta()
      .agentscope.protocol.v1.UpstreamMeta meta = 1;
      Specified by:
      hasMeta in interface UpstreamOrBuilder
      Returns:
      Whether the meta field is set.
    • getMeta

      public UpstreamMeta getMeta()
      .agentscope.protocol.v1.UpstreamMeta meta = 1;
      Specified by:
      getMeta in interface UpstreamOrBuilder
      Returns:
      The meta.
    • getMetaOrBuilder

      public UpstreamMetaOrBuilder getMetaOrBuilder()
      .agentscope.protocol.v1.UpstreamMeta meta = 1;
      Specified by:
      getMetaOrBuilder in interface UpstreamOrBuilder
    • hasConnect

      public boolean hasConnect()
      .agentscope.protocol.v1.ConnectRequest connect = 10;
      Specified by:
      hasConnect in interface UpstreamOrBuilder
      Returns:
      Whether the connect field is set.
    • getConnect

      public ConnectRequest getConnect()
      .agentscope.protocol.v1.ConnectRequest connect = 10;
      Specified by:
      getConnect in interface UpstreamOrBuilder
      Returns:
      The connect.
    • getConnectOrBuilder

      public ConnectRequestOrBuilder getConnectOrBuilder()
      .agentscope.protocol.v1.ConnectRequest connect = 10;
      Specified by:
      getConnectOrBuilder in interface UpstreamOrBuilder
    • hasConfigAck

      public boolean hasConfigAck()
      .agentscope.protocol.v1.ConfigAck config_ack = 11;
      Specified by:
      hasConfigAck in interface UpstreamOrBuilder
      Returns:
      Whether the configAck field is set.
    • getConfigAck

      public ConfigAck getConfigAck()
      .agentscope.protocol.v1.ConfigAck config_ack = 11;
      Specified by:
      getConfigAck in interface UpstreamOrBuilder
      Returns:
      The configAck.
    • getConfigAckOrBuilder

      public ConfigAckOrBuilder getConfigAckOrBuilder()
      .agentscope.protocol.v1.ConfigAck config_ack = 11;
      Specified by:
      getConfigAckOrBuilder in interface UpstreamOrBuilder
    • hasSessionReport

      public boolean hasSessionReport()
      .agentscope.protocol.v1.SessionReport session_report = 12;
      Specified by:
      hasSessionReport in interface UpstreamOrBuilder
      Returns:
      Whether the sessionReport field is set.
    • getSessionReport

      public SessionReport getSessionReport()
      .agentscope.protocol.v1.SessionReport session_report = 12;
      Specified by:
      getSessionReport in interface UpstreamOrBuilder
      Returns:
      The sessionReport.
    • getSessionReportOrBuilder

      public SessionReportOrBuilder getSessionReportOrBuilder()
      .agentscope.protocol.v1.SessionReport session_report = 12;
      Specified by:
      getSessionReportOrBuilder in interface UpstreamOrBuilder
    • hasExecutionAttempt

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

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

      public ExecutionAttemptReportOrBuilder getExecutionAttemptOrBuilder()
      .agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;
      Specified by:
      getExecutionAttemptOrBuilder in interface UpstreamOrBuilder
    • hasHeartbeat

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

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

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

      public boolean hasEventReport()
       Level 2 event stream
       
      .agentscope.protocol.v1.EventReport event_report = 15;
      Specified by:
      hasEventReport in interface UpstreamOrBuilder
      Returns:
      Whether the eventReport field is set.
    • getEventReport

      public EventReport getEventReport()
       Level 2 event stream
       
      .agentscope.protocol.v1.EventReport event_report = 15;
      Specified by:
      getEventReport in interface UpstreamOrBuilder
      Returns:
      The eventReport.
    • getEventReportOrBuilder

      public EventReportOrBuilder getEventReportOrBuilder()
       Level 2 event stream
       
      .agentscope.protocol.v1.EventReport event_report = 15;
      Specified by:
      getEventReportOrBuilder in interface UpstreamOrBuilder
    • hasContextReport

      public boolean hasContextReport()
       Level 4 effective context
       
      .agentscope.protocol.v1.ContextReport context_report = 16;
      Specified by:
      hasContextReport in interface UpstreamOrBuilder
      Returns:
      Whether the contextReport field is set.
    • getContextReport

      public ContextReport getContextReport()
       Level 4 effective context
       
      .agentscope.protocol.v1.ContextReport context_report = 16;
      Specified by:
      getContextReport in interface UpstreamOrBuilder
      Returns:
      The contextReport.
    • getContextReportOrBuilder

      public ContextReportOrBuilder getContextReportOrBuilder()
       Level 4 effective context
       
      .agentscope.protocol.v1.ContextReport context_report = 16;
      Specified by:
      getContextReportOrBuilder in interface UpstreamOrBuilder
    • hasInventory

      public boolean hasInventory()
       instance inventory (subagents / workspaces / health)
       
      .agentscope.protocol.v1.InventoryReport inventory = 17;
      Specified by:
      hasInventory in interface UpstreamOrBuilder
      Returns:
      Whether the inventory field is set.
    • getInventory

      public InventoryReport getInventory()
       instance inventory (subagents / workspaces / health)
       
      .agentscope.protocol.v1.InventoryReport inventory = 17;
      Specified by:
      getInventory in interface UpstreamOrBuilder
      Returns:
      The inventory.
    • getInventoryOrBuilder

      public InventoryReportOrBuilder getInventoryOrBuilder()
       instance inventory (subagents / workspaces / health)
       
      .agentscope.protocol.v1.InventoryReport inventory = 17;
      Specified by:
      getInventoryOrBuilder in interface UpstreamOrBuilder
    • hasConversationTurn

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

      public ConversationTurnReport getConversationTurn()
      .agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;
      Specified by:
      getConversationTurn in interface UpstreamOrBuilder
      Returns:
      The conversationTurn.
    • getConversationTurnOrBuilder

      public ConversationTurnReportOrBuilder getConversationTurnOrBuilder()
      .agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;
      Specified by:
      getConversationTurnOrBuilder in interface UpstreamOrBuilder
    • 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 Upstream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Upstream.Builder newBuilder()
    • newBuilder

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

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

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

      public static Upstream getDefaultInstance()
    • parser

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

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