Class AgentData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
com.google.cloud.aiplatform.v1beta1.AgentData.Builder
- All Implemented Interfaces:
AgentDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AgentData
public static final class AgentData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
implements AgentDataOrBuilder
Represents data specific to multi-turn agent evaluations.Protobuf type
google.cloud.aiplatform.v1beta1.AgentData-
Method Summary
Modifier and TypeMethodDescriptionaddAllTurns(Iterable<? extends ConversationTurn> values) Optional.addTurns(int index, ConversationTurn value) Optional.addTurns(int index, ConversationTurn.Builder builderForValue) Optional.addTurns(ConversationTurn value) Optional.addTurns(ConversationTurn.Builder builderForValue) Optional.Optional.addTurnsBuilder(int index) Optional.build()clear()Optional.booleancontainsAgents(String key) Optional.Deprecated.intOptional.Optional.getAgentsOrDefault(String key, AgentConfig defaultValue) Optional.getAgentsOrThrow(String key) Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.getTurns(int index) Optional.getTurnsBuilder(int index) Optional.Optional.intOptional.Optional.getTurnsOrBuilder(int index) Optional.List<? extends ConversationTurnOrBuilder>Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAgents(String key, AgentConfig value) Optional.Optional.putAllAgents(Map<String, AgentConfig> values) Optional.removeAgents(String key) Optional.removeTurns(int index) Optional.setTurns(int index, ConversationTurn value) Optional.setTurns(int index, ConversationTurn.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AgentData.Builder>
-
mergeFrom
public AgentData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentData.Builder>- Throws:
IOException
-
getAgentsCount
public int getAgentsCount()Description copied from interface:AgentDataOrBuilderOptional. 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];- Specified by:
getAgentsCountin interfaceAgentDataOrBuilder
-
containsAgents
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];- Specified by:
containsAgentsin interfaceAgentDataOrBuilder
-
getAgents
Deprecated.UsegetAgentsMap()instead.- Specified by:
getAgentsin interfaceAgentDataOrBuilder
-
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];- Specified by:
getAgentsMapin interfaceAgentDataOrBuilder
-
getAgentsOrDefault
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];- Specified by:
getAgentsOrDefaultin interfaceAgentDataOrBuilder
-
getAgentsOrThrow
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];- Specified by:
getAgentsOrThrowin interfaceAgentDataOrBuilder
-
clearAgents
-
removeAgents
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]; -
getMutableAgents
Deprecated.Use alternate mutation accessors instead. -
putAgents
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]; -
putAllAgents
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]; -
putAgentsBuilderIfAbsent
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]; -
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];- Specified by:
getTurnsListin interfaceAgentDataOrBuilder
-
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];- Specified by:
getTurnsCountin interfaceAgentDataOrBuilder
-
getTurns
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];- Specified by:
getTurnsin interfaceAgentDataOrBuilder
-
setTurns
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]; -
setTurns
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]; -
addTurns
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]; -
addTurns
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]; -
addTurns
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]; -
addTurns
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]; -
addAllTurns
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]; -
clearTurns
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]; -
removeTurns
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]; -
getTurnsBuilder
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]; -
getTurnsOrBuilder
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];- Specified by:
getTurnsOrBuilderin interfaceAgentDataOrBuilder
-
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];- Specified by:
getTurnsOrBuilderListin interfaceAgentDataOrBuilder
-
addTurnsBuilder
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]; -
addTurnsBuilder
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]; -
getTurnsBuilderList
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];
-