Interface AgentDataOrBuilder (3.100.0)

public interface AgentDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAgents(String key)

public abstract boolean containsAgents(String key)

Optional. A map containing the static configurations for each agent in the system. Key: agent_id (matches the author field in events). Value: The static configuration of the agent.

map<string, .google.cloud.aiplatform.v1beta1.AgentConfig> agents = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAgents() (deprecated)

public abstract Map<String,AgentConfig> getAgents()

Use #getAgentsMap() instead.

Returns
Type Description
Map<String,AgentConfig>

getAgentsCount()

public abstract int getAgentsCount()

Optional. A map containing the static configurations for each agent in the system. Key: agent_id (matches the author field in events). Value: The static configuration of the agent.

map<string, .google.cloud.aiplatform.v1beta1.AgentConfig> agents = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAgentsMap()

public abstract Map<String,AgentConfig> getAgentsMap()

Optional. A map containing the static configurations for each agent in the system. Key: agent_id (matches the author field in events). Value: The static configuration of the agent.

map<string, .google.cloud.aiplatform.v1beta1.AgentConfig> agents = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,AgentConfig>

getAgentsOrDefault(String key, AgentConfig defaultValue)

public abstract AgentConfig getAgentsOrDefault(String key, AgentConfig defaultValue)

Optional. A map containing the static configurations for each agent in the system. Key: agent_id (matches the author field in events). Value: The static configuration of the agent.

map<string, .google.cloud.aiplatform.v1beta1.AgentConfig> agents = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue AgentConfig
Returns
Type Description
AgentConfig

getAgentsOrThrow(String key)

public abstract AgentConfig getAgentsOrThrow(String key)

Optional. A map containing the static configurations for each agent in the system. Key: agent_id (matches the author field in events). Value: The static configuration of the agent.

map<string, .google.cloud.aiplatform.v1beta1.AgentConfig> agents = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AgentConfig

getTurns(int index)

public abstract ConversationTurn getTurns(int index)

Optional. A chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response).

repeated .google.cloud.aiplatform.v1beta1.ConversationTurn turns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ConversationTurn

getTurnsCount()

public abstract int getTurnsCount()

Optional. A chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response).

repeated .google.cloud.aiplatform.v1beta1.ConversationTurn turns = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTurnsList()

public abstract List<ConversationTurn> getTurnsList()

Optional. A chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response).

repeated .google.cloud.aiplatform.v1beta1.ConversationTurn turns = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ConversationTurn>

getTurnsOrBuilder(int index)

public abstract ConversationTurnOrBuilder getTurnsOrBuilder(int index)

Optional. A chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response).

repeated .google.cloud.aiplatform.v1beta1.ConversationTurn turns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ConversationTurnOrBuilder

getTurnsOrBuilderList()

public abstract List<? extends ConversationTurnOrBuilder> getTurnsOrBuilderList()

Optional. A chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response).

repeated .google.cloud.aiplatform.v1beta1.ConversationTurn turns = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ConversationTurnOrBuilder>