Class Downstream.Builder

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

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

      public Downstream.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<Downstream.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<Downstream.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Downstream.Builder mergeFrom(Downstream other)
    • isInitialized

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

      public Downstream.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<Downstream.Builder>
      Throws:
      IOException
    • getPayloadCase

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

      public Downstream.Builder clearPayload()
    • 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.
    • setConnectAck

      public Downstream.Builder setConnectAck(ConnectResponse value)
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
    • setConnectAck

      public Downstream.Builder setConnectAck(ConnectResponse.Builder builderForValue)
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
    • mergeConnectAck

      public Downstream.Builder mergeConnectAck(ConnectResponse value)
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
    • clearConnectAck

      public Downstream.Builder clearConnectAck()
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
    • getConnectAckBuilder

      public ConnectResponse.Builder getConnectAckBuilder()
      .agentscope.protocol.v1.ConnectResponse connect_ack = 10;
    • 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.
    • setConfigPush

      public Downstream.Builder setConfigPush(ConfigPush value)
      .agentscope.protocol.v1.ConfigPush config_push = 11;
    • setConfigPush

      public Downstream.Builder setConfigPush(ConfigPush.Builder builderForValue)
      .agentscope.protocol.v1.ConfigPush config_push = 11;
    • mergeConfigPush

      public Downstream.Builder mergeConfigPush(ConfigPush value)
      .agentscope.protocol.v1.ConfigPush config_push = 11;
    • clearConfigPush

      public Downstream.Builder clearConfigPush()
      .agentscope.protocol.v1.ConfigPush config_push = 11;
    • getConfigPushBuilder

      public ConfigPush.Builder getConfigPushBuilder()
      .agentscope.protocol.v1.ConfigPush config_push = 11;
    • 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.
    • setSessionCmd

      public Downstream.Builder setSessionCmd(SessionCommand value)
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
    • setSessionCmd

      public Downstream.Builder setSessionCmd(SessionCommand.Builder builderForValue)
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
    • mergeSessionCmd

      public Downstream.Builder mergeSessionCmd(SessionCommand value)
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
    • clearSessionCmd

      public Downstream.Builder clearSessionCmd()
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
    • getSessionCmdBuilder

      public SessionCommand.Builder getSessionCmdBuilder()
      .agentscope.protocol.v1.SessionCommand session_cmd = 12;
    • 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.
    • setExecutionAttempt

      public Downstream.Builder setExecutionAttempt(ExecutionAttemptCommand value)
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
    • setExecutionAttempt

      public Downstream.Builder setExecutionAttempt(ExecutionAttemptCommand.Builder builderForValue)
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
    • mergeExecutionAttempt

      public Downstream.Builder mergeExecutionAttempt(ExecutionAttemptCommand value)
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
    • clearExecutionAttempt

      public Downstream.Builder clearExecutionAttempt()
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
    • getExecutionAttemptBuilder

      public ExecutionAttemptCommand.Builder getExecutionAttemptBuilder()
      .agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;
    • 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.
    • setHeartbeat

      public Downstream.Builder setHeartbeat(Heartbeat value)
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
    • setHeartbeat

      public Downstream.Builder setHeartbeat(Heartbeat.Builder builderForValue)
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
    • mergeHeartbeat

      public Downstream.Builder mergeHeartbeat(Heartbeat value)
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
    • clearHeartbeat

      public Downstream.Builder clearHeartbeat()
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
    • getHeartbeatBuilder

      public Heartbeat.Builder getHeartbeatBuilder()
      .agentscope.protocol.v1.Heartbeat heartbeat = 14;
    • 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.
    • setConversationTurn

      public Downstream.Builder setConversationTurn(ConversationTurnCommand value)
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
    • setConversationTurn

      public Downstream.Builder setConversationTurn(ConversationTurnCommand.Builder builderForValue)
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
    • mergeConversationTurn

      public Downstream.Builder mergeConversationTurn(ConversationTurnCommand value)
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
    • clearConversationTurn

      public Downstream.Builder clearConversationTurn()
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
    • getConversationTurnBuilder

      public ConversationTurnCommand.Builder getConversationTurnBuilder()
      .agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;
    • 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.
    • setEventAck

      public Downstream.Builder setEventAck(EventReportAck value)
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
    • setEventAck

      public Downstream.Builder setEventAck(EventReportAck.Builder builderForValue)
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
    • mergeEventAck

      public Downstream.Builder mergeEventAck(EventReportAck value)
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
    • clearEventAck

      public Downstream.Builder clearEventAck()
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
    • getEventAckBuilder

      public EventReportAck.Builder getEventAckBuilder()
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
    • getEventAckOrBuilder

      public EventReportAckOrBuilder getEventAckOrBuilder()
      .agentscope.protocol.v1.EventReportAck event_ack = 16;
      Specified by:
      getEventAckOrBuilder in interface DownstreamOrBuilder