Interface AgentConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentConfig,AgentConfig.Builder
@Generated
public interface AgentConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getSubAgents(int index) Optional.com.google.protobuf.ByteStringgetSubAgentsBytes(int index) Optional.intOptional.Optional.getTools(int index) Optional.intOptional.Optional.getToolsOrBuilder(int index) Optional.List<? extends ToolOrBuilder>Optional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAgentId
boolean hasAgentId()Required. 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.
optional string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the agentId field is set.
-
getAgentId
String getAgentId()Required. 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.
optional string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The agentId.
-
getAgentIdBytes
com.google.protobuf.ByteString getAgentIdBytes()Required. 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.
optional string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for agentId.
-
getAgentType
String getAgentType()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 = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The agentType.
-
getAgentTypeBytes
com.google.protobuf.ByteString getAgentTypeBytes()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 = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for agentType.
-
getDescription
String getDescription()Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getInstruction
String getInstruction()Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field.string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The instruction.
-
getInstructionBytes
com.google.protobuf.ByteString getInstructionBytes()Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the `AgentEvent.state_delta` field.string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for instruction.
-
getToolsList
Optional. The list of tools available to this agent.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getTools
Optional. The list of tools available to this agent.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsCount
int getToolsCount()Optional. The list of tools available to this agent.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsOrBuilderList
List<? extends ToolOrBuilder> getToolsOrBuilderList()Optional. The list of tools available to this agent.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsOrBuilder
Optional. The list of tools available to this agent.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getSubAgentsList
Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.
repeated string sub_agents = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the subAgents.
-
getSubAgentsCount
int getSubAgentsCount()Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.
repeated string sub_agents = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of subAgents.
-
getSubAgents
Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.
repeated string sub_agents = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The subAgents at the given index.
-
getSubAgentsBytes
com.google.protobuf.ByteString getSubAgentsBytes(int index) Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.
repeated string sub_agents = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subAgents at the given index.
-