Class EvaluationInstance.DeprecatedAgentConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig
All Implemented Interfaces:
EvaluationInstance.DeprecatedAgentConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
EvaluationInstance

@Deprecated public static final class EvaluationInstance.DeprecatedAgentConfig extends com.google.protobuf.GeneratedMessage implements EvaluationInstance.DeprecatedAgentConfigOrBuilder
Deprecated.
 Deprecated: Use `google.cloud.aiplatform.master.AgentConfig` in
 `agent_eval_data` instead.
 Configuration for an Agent.
 
Protobuf type google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig
See Also:
  • Field Details

    • TOOLS_TEXT_FIELD_NUMBER

      public static final int TOOLS_TEXT_FIELD_NUMBER
      Deprecated.
      See Also:
    • TOOLS_FIELD_NUMBER

      public static final int TOOLS_FIELD_NUMBER
      Deprecated.
      See Also:
    • AGENT_ID_FIELD_NUMBER

      public static final int AGENT_ID_FIELD_NUMBER
      Deprecated.
      See Also:
    • AGENT_TYPE_FIELD_NUMBER

      public static final int AGENT_TYPE_FIELD_NUMBER
      Deprecated.
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      Deprecated.
      See Also:
    • SUB_AGENTS_FIELD_NUMBER

      public static final int SUB_AGENTS_FIELD_NUMBER
      Deprecated.
      See Also:
    • DEVELOPER_INSTRUCTION_FIELD_NUMBER

      public static final int DEVELOPER_INSTRUCTION_FIELD_NUMBER
      Deprecated.
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      Deprecated.
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Deprecated.
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getToolsDataCase

      Deprecated.
      Specified by:
      getToolsDataCase in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
    • hasToolsText

      public boolean hasToolsText()
      Deprecated.
       A JSON string containing a list of tools available to an agent with
       info such as name, description, parameters and required parameters.
       
      string tools_text = 1;
      Specified by:
      hasToolsText in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      Whether the toolsText field is set.
    • getToolsText

      public String getToolsText()
      Deprecated.
       A JSON string containing a list of tools available to an agent with
       info such as name, description, parameters and required parameters.
       
      string tools_text = 1;
      Specified by:
      getToolsText in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The toolsText.
    • getToolsTextBytes

      public com.google.protobuf.ByteString getToolsTextBytes()
      Deprecated.
       A JSON string containing a list of tools available to an agent with
       info such as name, description, parameters and required parameters.
       
      string tools_text = 1;
      Specified by:
      getToolsTextBytes in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The bytes for toolsText.
    • hasTools

      public boolean hasTools()
      Deprecated.
       List of tools.
       
      .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools tools = 2;
      Specified by:
      hasTools in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      Whether the tools field is set.
    • getTools

      Deprecated.
       List of tools.
       
      .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools tools = 2;
      Specified by:
      getTools in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The tools.
    • getToolsOrBuilder

      Deprecated.
       List of tools.
       
      .google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools tools = 2;
      Specified by:
      getToolsOrBuilder in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
    • getAgentId

      public String getAgentId()
      Deprecated.
       Optional. Unique identifier of the agent.
       This ID is used to refer to this agent, e.g., in AgentEvent.author, or in
       the `sub_agents` field. It must be unique within the `agents` map.
       
      string agent_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentId in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The agentId.
    • getAgentIdBytes

      public com.google.protobuf.ByteString getAgentIdBytes()
      Deprecated.
       Optional. Unique identifier of the agent.
       This ID is used to refer to this agent, e.g., in AgentEvent.author, or in
       the `sub_agents` field. It must be unique within the `agents` map.
       
      string agent_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentIdBytes in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The bytes for agentId.
    • getAgentType

      public String getAgentType()
      Deprecated.
       Optional. The type or class of the agent (e.g., "LlmAgent",
       "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand
       the expected behavior of the agent.
       
      string agent_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentType in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The agentType.
    • getAgentTypeBytes

      public com.google.protobuf.ByteString getAgentTypeBytes()
      Deprecated.
       Optional. The type or class of the agent (e.g., "LlmAgent",
       "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand
       the expected behavior of the agent.
       
      string agent_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentTypeBytes in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The bytes for agentType.
    • getDescription

      public String getDescription()
      Deprecated.
       Optional. A high-level description of the agent's role and
       responsibilities. Critical for evaluating if the agent is routing tasks
       correctly.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      Deprecated.
       Optional. A high-level description of the agent's role and
       responsibilities. Critical for evaluating if the agent is routing tasks
       correctly.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The bytes for description.
    • getSubAgentsList

      public com.google.protobuf.ProtocolStringList getSubAgentsList()
      Deprecated.
       Optional. The list of valid agent IDs (names) that this agent can
       delegate to. This defines the directed edges in the agent system graph
       topology.
       
      repeated string sub_agents = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubAgentsList in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      A list containing the subAgents.
    • getSubAgentsCount

      public int getSubAgentsCount()
      Deprecated.
       Optional. The list of valid agent IDs (names) that this agent can
       delegate to. This defines the directed edges in the agent system graph
       topology.
       
      repeated string sub_agents = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubAgentsCount in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The count of subAgents.
    • getSubAgents

      public String getSubAgents(int index)
      Deprecated.
       Optional. The list of valid agent IDs (names) that this agent can
       delegate to. This defines the directed edges in the agent system graph
       topology.
       
      repeated string sub_agents = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubAgents in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The subAgents at the given index.
    • getSubAgentsBytes

      public com.google.protobuf.ByteString getSubAgentsBytes(int index)
      Deprecated.
       Optional. The list of valid agent IDs (names) that this agent can
       delegate to. This defines the directed edges in the agent system graph
       topology.
       
      repeated string sub_agents = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubAgentsBytes in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subAgents at the given index.
    • hasDeveloperInstruction

      public boolean hasDeveloperInstruction()
      Deprecated.
       Optional. Contains instructions from the developer for the agent. Can be
       static or a dynamic prompt template used with the
       `AgentEvent.state_delta` field.
       
      .google.cloud.aiplatform.v1beta1.EvaluationInstance.InstanceData developer_instruction = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDeveloperInstruction in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      Whether the developerInstruction field is set.
    • getDeveloperInstruction

      public EvaluationInstance.InstanceData getDeveloperInstruction()
      Deprecated.
       Optional. Contains instructions from the developer for the agent. Can be
       static or a dynamic prompt template used with the
       `AgentEvent.state_delta` field.
       
      .google.cloud.aiplatform.v1beta1.EvaluationInstance.InstanceData developer_instruction = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeveloperInstruction in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
      Returns:
      The developerInstruction.
    • getDeveloperInstructionOrBuilder

      public EvaluationInstance.InstanceDataOrBuilder getDeveloperInstructionOrBuilder()
      Deprecated.
       Optional. Contains instructions from the developer for the agent. Can be
       static or a dynamic prompt template used with the
       `AgentEvent.state_delta` field.
       
      .google.cloud.aiplatform.v1beta1.EvaluationInstance.InstanceData developer_instruction = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeveloperInstructionOrBuilder in interface EvaluationInstance.DeprecatedAgentConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Deprecated.
      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
      Deprecated.
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Deprecated.
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EvaluationInstance.DeprecatedAgentConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static EvaluationInstance.DeprecatedAgentConfig parseFrom(InputStream input) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseFrom

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

      public static EvaluationInstance.DeprecatedAgentConfig parseDelimitedFrom(InputStream input) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      Deprecated.
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      Deprecated.
    • newBuilder

      Deprecated.
    • toBuilder

      Deprecated.
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static EvaluationInstance.DeprecatedAgentConfig getDefaultInstance()
      Deprecated.
    • parser

      public static com.google.protobuf.Parser<EvaluationInstance.DeprecatedAgentConfig> parser()
      Deprecated.
    • getParserForType

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