Class AgentData (3.100.0)

public final class AgentData extends GeneratedMessage implements AgentDataOrBuilder

Represents data specific to multi-turn agent evaluations.

Protobuf type google.cloud.aiplatform.v1beta1.AgentData

Implements

AgentDataOrBuilder

Static Fields

AGENTS_FIELD_NUMBER

public static final int AGENTS_FIELD_NUMBER
Field Value
Type Description
int

TURNS_FIELD_NUMBER

public static final int TURNS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentData getDefaultInstance()
Returns
Type Description
AgentData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AgentData.Builder newBuilder()
Returns
Type Description
AgentData.Builder

newBuilder(AgentData prototype)

public static AgentData.Builder newBuilder(AgentData prototype)
Parameter
Name Description
prototype AgentData
Returns
Type Description
AgentData.Builder

parseDelimitedFrom(InputStream input)

public static AgentData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AgentData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AgentData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AgentData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AgentData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AgentData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AgentData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AgentData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AgentData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AgentData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AgentData> parser()
Returns
Type Description
Parser<AgentData>

Methods

containsAgents(String key)

public 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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAgents() (deprecated)

public Map<String,AgentConfig> getAgents()

Use #getAgentsMap() instead.

Returns
Type Description
Map<String,AgentConfig>

getAgentsCount()

public 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 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 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 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

getDefaultInstanceForType()

public AgentData getDefaultInstanceForType()
Returns
Type Description
AgentData

getParserForType()

public Parser<AgentData> getParserForType()
Returns
Type Description
Parser<AgentData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTurns(int index)

public 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 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 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 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 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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentData.Builder newBuilderForType()
Returns
Type Description
AgentData.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AgentData.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentData.Builder
Overrides

toBuilder()

public AgentData.Builder toBuilder()
Returns
Type Description
AgentData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException