public static final class EvaluationInstance.DeprecatedAgentConfig extends GeneratedMessage implements EvaluationInstance.DeprecatedAgentConfigOrBuilder
Deprecated: Use google.cloud.aiplatform.master.AgentConfig in
agent_eval_data instead.
Configuration for an Agent.
Protobuf type google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int AGENT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int AGENT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DEVELOPER_INSTRUCTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SUB_AGENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOLS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TOOLS_TEXT_FIELD_NUMBER (deprecated)
public static final int TOOLS_TEXT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static EvaluationInstance.DeprecatedAgentConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static EvaluationInstance.DeprecatedAgentConfig.Builder newBuilder()
public static EvaluationInstance.DeprecatedAgentConfig.Builder newBuilder(EvaluationInstance.DeprecatedAgentConfig prototype)
public static EvaluationInstance.DeprecatedAgentConfig parseDelimitedFrom(InputStream input)
public static EvaluationInstance.DeprecatedAgentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(ByteString data)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(CodedInputStream input)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(InputStream input)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(ByteBuffer data)
public static EvaluationInstance.DeprecatedAgentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<EvaluationInstance.DeprecatedAgentConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getAgentId()
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];
| Returns |
| Type |
Description |
String |
The agentId.
|
public ByteString getAgentIdBytes()
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for agentId.
|
public 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The agentType.
|
public 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for agentType.
|
public EvaluationInstance.DeprecatedAgentConfig getDefaultInstanceForType()
public 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
public 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
public EvaluationInstance.InstanceData getDeveloperInstruction()
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];
public EvaluationInstance.InstanceDataOrBuilder getDeveloperInstructionOrBuilder()
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];
public Parser<EvaluationInstance.DeprecatedAgentConfig> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public String getSubAgents(int index)
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];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The subAgents at the given index.
|
public ByteString getSubAgentsBytes(int index)
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];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the subAgents at the given index.
|
public int getSubAgentsCount()
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];
| Returns |
| Type |
Description |
int |
The count of subAgents.
|
public ProtocolStringList getSubAgentsList()
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];
public EvaluationInstance.DeprecatedAgentConfig.Tools getTools()
List of tools.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools tools = 2;
public EvaluationInstance.DeprecatedAgentConfig.ToolsDataCase getToolsDataCase()
public EvaluationInstance.DeprecatedAgentConfig.ToolsOrBuilder getToolsOrBuilder()
List of tools.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools tools = 2;
getToolsText() (deprecated)
public String getToolsText()
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;
| Returns |
| Type |
Description |
String |
The toolsText.
|
getToolsTextBytes() (deprecated)
public ByteString getToolsTextBytes()
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;
| Returns |
| Type |
Description |
ByteString |
The bytes for toolsText.
|
public boolean hasDeveloperInstruction()
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];
| Returns |
| Type |
Description |
boolean |
Whether the developerInstruction field is set.
|
public boolean hasTools()
List of tools.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig.Tools tools = 2;
| Returns |
| Type |
Description |
boolean |
Whether the tools field is set.
|
hasToolsText() (deprecated)
public boolean hasToolsText()
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;
| Returns |
| Type |
Description |
boolean |
Whether the toolsText field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public EvaluationInstance.DeprecatedAgentConfig.Builder newBuilderForType()
protected EvaluationInstance.DeprecatedAgentConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public EvaluationInstance.DeprecatedAgentConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides