public
final
class
Agent
extends
GeneratedMessage
implements
AgentOrBuilder
An agent acts as the fundamental building block that provides instructions to the Large Language Model (LLM) for executing specific tasks.
Protobuf type google.cloud.ces.v1.Agent
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AgentImplements
AgentOrBuilderStatic Fields
AFTER_AGENT_CALLBACKS_FIELD_NUMBER
public
static
final
int
AFTER_AGENT_CALLBACKS_FIELD_NUMBER
AFTER_MODEL_CALLBACKS_FIELD_NUMBER
public
static
final
int
AFTER_MODEL_CALLBACKS_FIELD_NUMBER
AFTER_TOOL_CALLBACKS_FIELD_NUMBER
public
static
final
int
AFTER_TOOL_CALLBACKS_FIELD_NUMBER
BEFORE_AGENT_CALLBACKS_FIELD_NUMBER
public
static
final
int
BEFORE_AGENT_CALLBACKS_FIELD_NUMBER
BEFORE_MODEL_CALLBACKS_FIELD_NUMBER
public
static
final
int
BEFORE_MODEL_CALLBACKS_FIELD_NUMBER
BEFORE_TOOL_CALLBACKS_FIELD_NUMBER
public
static
final
int
BEFORE_TOOL_CALLBACKS_FIELD_NUMBER
CHILD_AGENTS_FIELD_NUMBER
public
static
final
int
CHILD_AGENTS_FIELD_NUMBER
CREATE_TIME_FIELD_NUMBER
public
static
final
int
CREATE_TIME_FIELD_NUMBER
DESCRIPTION_FIELD_NUMBER
public
static
final
int
DESCRIPTION_FIELD_NUMBER
DISPLAY_NAME_FIELD_NUMBER
public
static
final
int
DISPLAY_NAME_FIELD_NUMBER
ETAG_FIELD_NUMBER
public
static
final
int
ETAG_FIELD_NUMBER
GENERATED_SUMMARY_FIELD_NUMBER
public
static
final
int
GENERATED_SUMMARY_FIELD_NUMBER
GUARDRAILS_FIELD_NUMBER
public
static
final
int
GUARDRAILS_FIELD_NUMBER
INSTRUCTION_FIELD_NUMBER
public
static
final
int
INSTRUCTION_FIELD_NUMBER
LLM_AGENT_FIELD_NUMBER
public
static
final
int
LLM_AGENT_FIELD_NUMBER
MODEL_SETTINGS_FIELD_NUMBER
public
static
final
int
MODEL_SETTINGS_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
REMOTE_DIALOGFLOW_AGENT_FIELD_NUMBER
public
static
final
int
REMOTE_DIALOGFLOW_AGENT_FIELD_NUMBER
TOOLSETS_FIELD_NUMBER
public
static
final
int
TOOLSETS_FIELD_NUMBER
TOOLS_FIELD_NUMBER
public
static
final
int
TOOLS_FIELD_NUMBER
TRANSFER_RULES_FIELD_NUMBER
public
static
final
int
TRANSFER_RULES_FIELD_NUMBER
UPDATE_TIME_FIELD_NUMBER
public
static
final
int
UPDATE_TIME_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Agent
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Agent
.
Builder
newBuilder
()
newBuilder(Agent prototype)
public
static
Agent
.
Builder
newBuilder
(
Agent
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Agent
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Agent
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Agent
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Agent
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Agent
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Agent
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Agent
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Agent
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Agent
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Agent
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Agent
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Agent
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Agent>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getAfterAgentCallbacks(int index)
public
Callback
getAfterAgentCallbacks
(
int
index
)
Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL];
getAfterAgentCallbacksCount()
public
int
getAfterAgentCallbacksCount
()
Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL];
getAfterAgentCallbacksList()
public
List<Callback>
getAfterAgentCallbacksList
()
Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL];
getAfterAgentCallbacksOrBuilder(int index)
public
CallbackOrBuilder
getAfterAgentCallbacksOrBuilder
(
int
index
)
Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL];
getAfterAgentCallbacksOrBuilderList()
public
List
< ?
extends
CallbackOrBuilder
>
getAfterAgentCallbacksOrBuilderList
()
Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL];
getAfterModelCallbacks(int index)
public
Callback
getAfterModelCallbacks
(
int
index
)
Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL];
getAfterModelCallbacksCount()
public
int
getAfterModelCallbacksCount
()
Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL];
getAfterModelCallbacksList()
public
List<Callback>
getAfterModelCallbacksList
()
Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL];
getAfterModelCallbacksOrBuilder(int index)
public
CallbackOrBuilder
getAfterModelCallbacksOrBuilder
(
int
index
)
Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL];
getAfterModelCallbacksOrBuilderList()
public
List
< ?
extends
CallbackOrBuilder
>
getAfterModelCallbacksOrBuilderList
()
Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL];
getAfterToolCallbacks(int index)
public
Callback
getAfterToolCallbacks
(
int
index
)
Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL];
getAfterToolCallbacksCount()
public
int
getAfterToolCallbacksCount
()
Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL];
getAfterToolCallbacksList()
public
List<Callback>
getAfterToolCallbacksList
()
Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL];
getAfterToolCallbacksOrBuilder(int index)
public
CallbackOrBuilder
getAfterToolCallbacksOrBuilder
(
int
index
)
Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL];
getAfterToolCallbacksOrBuilderList()
public
List
< ?
extends
CallbackOrBuilder
>
getAfterToolCallbacksOrBuilderList
()
Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL];
getAgentTypeCase()
public
Agent
.
AgentTypeCase
getAgentTypeCase
()
getBeforeAgentCallbacks(int index)
public
Callback
getBeforeAgentCallbacks
(
int
index
)
Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL];
getBeforeAgentCallbacksCount()
public
int
getBeforeAgentCallbacksCount
()
Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL];
getBeforeAgentCallbacksList()
public
List<Callback>
getBeforeAgentCallbacksList
()
Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL];
getBeforeAgentCallbacksOrBuilder(int index)
public
CallbackOrBuilder
getBeforeAgentCallbacksOrBuilder
(
int
index
)
Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL];
getBeforeAgentCallbacksOrBuilderList()
public
List
< ?
extends
CallbackOrBuilder
>
getBeforeAgentCallbacksOrBuilderList
()
Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL];
getBeforeModelCallbacks(int index)
public
Callback
getBeforeModelCallbacks
(
int
index
)
Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL];
getBeforeModelCallbacksCount()
public
int
getBeforeModelCallbacksCount
()
Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL];
getBeforeModelCallbacksList()
public
List<Callback>
getBeforeModelCallbacksList
()
Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL];
getBeforeModelCallbacksOrBuilder(int index)
public
CallbackOrBuilder
getBeforeModelCallbacksOrBuilder
(
int
index
)
Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL];
getBeforeModelCallbacksOrBuilderList()
public
List
< ?
extends
CallbackOrBuilder
>
getBeforeModelCallbacksOrBuilderList
()
Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL];
getBeforeToolCallbacks(int index)
public
Callback
getBeforeToolCallbacks
(
int
index
)
Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL];
getBeforeToolCallbacksCount()
public
int
getBeforeToolCallbacksCount
()
Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL];
getBeforeToolCallbacksList()
public
List<Callback>
getBeforeToolCallbacksList
()
Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL];
getBeforeToolCallbacksOrBuilder(int index)
public
CallbackOrBuilder
getBeforeToolCallbacksOrBuilder
(
int
index
)
Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL];
getBeforeToolCallbacksOrBuilderList()
public
List
< ?
extends
CallbackOrBuilder
>
getBeforeToolCallbacksOrBuilderList
()
Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL];
getChildAgents(int index)
public
String
getChildAgents
(
int
index
)
Optional. List of child agents in the agent tree.
Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
repeated string child_agents = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getChildAgentsBytes(int index)
public
ByteString
getChildAgentsBytes
(
int
index
)
Optional. List of child agents in the agent tree.
Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
repeated string child_agents = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getChildAgentsCount()
public
int
getChildAgentsCount
()
Optional. List of child agents in the agent tree.
Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
repeated string child_agents = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getChildAgentsList()
public
ProtocolStringList
getChildAgentsList
()
Optional. List of child agents in the agent tree.
Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
repeated string child_agents = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getCreateTime()
public
Timestamp
getCreateTime
()
Output only. Timestamp when the agent was created.
.google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder()
public
TimestampOrBuilder
getCreateTimeOrBuilder
()
Output only. Timestamp when the agent was created.
.google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public
Agent
getDefaultInstanceForType
()
getDescription()
public
String
getDescription
()
Optional. Human-readable description of the agent.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
getDescriptionBytes()
public
ByteString
getDescriptionBytes
()
Optional. Human-readable description of the agent.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
getDisplayName()
public
String
getDisplayName
()
Required. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes()
public
ByteString
getDisplayNameBytes
()
Required. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getEtag()
public
String
getEtag
()
Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 24;
getEtagBytes()
public
ByteString
getEtagBytes
()
Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 24;
getGeneratedSummary()
public
String
getGeneratedSummary
()
Output only. If the agent is generated by the LLM assistant, this field contains a descriptive summary of the generation.
string generated_summary = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGeneratedSummaryBytes()
public
ByteString
getGeneratedSummaryBytes
()
Output only. If the agent is generated by the LLM assistant, this field contains a descriptive summary of the generation.
string generated_summary = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGuardrails(int index)
public
String
getGuardrails
(
int
index
)
Optional. List of guardrails for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
repeated string guardrails = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getGuardrailsBytes(int index)
public
ByteString
getGuardrailsBytes
(
int
index
)
Optional. List of guardrails for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
repeated string guardrails = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getGuardrailsCount()
public
int
getGuardrailsCount
()
Optional. List of guardrails for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
repeated string guardrails = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getGuardrailsList()
public
ProtocolStringList
getGuardrailsList
()
Optional. List of guardrails for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
repeated string guardrails = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getInstruction()
public
String
getInstruction
()
Optional. Instructions for the LLM model to guide the agent's behavior.
string instruction = 6 [(.google.api.field_behavior) = OPTIONAL];
getInstructionBytes()
public
ByteString
getInstructionBytes
()
Optional. Instructions for the LLM model to guide the agent's behavior.
string instruction = 6 [(.google.api.field_behavior) = OPTIONAL];
getLlmAgent()
public
Agent
.
LlmAgent
getLlmAgent
()
Optional. The default agent type.
.google.cloud.ces.v1.Agent.LlmAgent llm_agent = 26 [(.google.api.field_behavior) = OPTIONAL];
getLlmAgentOrBuilder()
public
Agent
.
LlmAgentOrBuilder
getLlmAgentOrBuilder
()
Optional. The default agent type.
.google.cloud.ces.v1.Agent.LlmAgent llm_agent = 26 [(.google.api.field_behavior) = OPTIONAL];
getModelSettings()
public
ModelSettings
getModelSettings
()
Optional. Configurations for the LLM model.
.google.cloud.ces.v1.ModelSettings model_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
getModelSettingsOrBuilder()
public
ModelSettingsOrBuilder
getModelSettingsOrBuilder
()
Optional. Configurations for the LLM model.
.google.cloud.ces.v1.ModelSettings model_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
getName()
public
String
getName
()
Identifier. The unique identifier of the agent.
Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getNameBytes()
public
ByteString
getNameBytes
()
Identifier. The unique identifier of the agent.
Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getParserForType()
public
Parser<Agent>
getParserForType
()
getRemoteDialogflowAgent()
public
Agent
.
RemoteDialogflowAgent
getRemoteDialogflowAgent
()
Optional. The remote Dialogflow agent to be used for the agent execution. If this field is set, all other agent level properties will be ignored.
Note: If the Dialogflow agent is in a different project from the app, you
should grant roles/dialogflow.client
to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com
.
.google.cloud.ces.v1.Agent.RemoteDialogflowAgent remote_dialogflow_agent = 27 [(.google.api.field_behavior) = OPTIONAL];
getRemoteDialogflowAgentOrBuilder()
public
Agent
.
RemoteDialogflowAgentOrBuilder
getRemoteDialogflowAgentOrBuilder
()
Optional. The remote Dialogflow agent to be used for the agent execution. If this field is set, all other agent level properties will be ignored.
Note: If the Dialogflow agent is in a different project from the app, you
should grant roles/dialogflow.client
to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com
.
.google.cloud.ces.v1.Agent.RemoteDialogflowAgent remote_dialogflow_agent = 27 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public
int
getSerializedSize
()
getTools(int index)
public
String
getTools
(
int
index
)
Optional. List of available tools for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
repeated string tools = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getToolsBytes(int index)
public
ByteString
getToolsBytes
(
int
index
)
Optional. List of available tools for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
repeated string tools = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getToolsCount()
public
int
getToolsCount
()
Optional. List of available tools for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
repeated string tools = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getToolsList()
public
ProtocolStringList
getToolsList
()
Optional. List of available tools for the agent.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
repeated string tools = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getToolsets(int index)
public
Agent
.
AgentToolset
getToolsets
(
int
index
)
Optional. List of toolsets for the agent.
repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL];
getToolsetsCount()
public
int
getToolsetsCount
()
Optional. List of toolsets for the agent.
repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL];
getToolsetsList()
public
List<Agent
.
AgentToolset
>
getToolsetsList
()
Optional. List of toolsets for the agent.
repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL];
getToolsetsOrBuilder(int index)
public
Agent
.
AgentToolsetOrBuilder
getToolsetsOrBuilder
(
int
index
)
Optional. List of toolsets for the agent.
repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL];
getToolsetsOrBuilderList()
public
List
< ?
extends
Agent
.
AgentToolsetOrBuilder
>
getToolsetsOrBuilderList
()
Optional. List of toolsets for the agent.
repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL];
getTransferRules(int index)
public
TransferRule
getTransferRules
(
int
index
)
Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.
repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL];
getTransferRulesCount()
public
int
getTransferRulesCount
()
Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.
repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL];
getTransferRulesList()
public
List<TransferRule>
getTransferRulesList
()
Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.
repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL];
getTransferRulesOrBuilder(int index)
public
TransferRuleOrBuilder
getTransferRulesOrBuilder
(
int
index
)
Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.
repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL];
getTransferRulesOrBuilderList()
public
List
< ?
extends
TransferRuleOrBuilder
>
getTransferRulesOrBuilderList
()
Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.
repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL];
getUpdateTime()
public
Timestamp
getUpdateTime
()
Output only. Timestamp when the agent was last updated.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder()
public
TimestampOrBuilder
getUpdateTimeOrBuilder
()
Output only. Timestamp when the agent was last updated.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public
boolean
hasCreateTime
()
Output only. Timestamp when the agent was created.
.google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLlmAgent()
public
boolean
hasLlmAgent
()
Optional. The default agent type.
.google.cloud.ces.v1.Agent.LlmAgent llm_agent = 26 [(.google.api.field_behavior) = OPTIONAL];
hasModelSettings()
public
boolean
hasModelSettings
()
Optional. Configurations for the LLM model.
.google.cloud.ces.v1.ModelSettings model_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
hasRemoteDialogflowAgent()
public
boolean
hasRemoteDialogflowAgent
()
Optional. The remote Dialogflow agent to be used for the agent execution. If this field is set, all other agent level properties will be ignored.
Note: If the Dialogflow agent is in a different project from the app, you
should grant roles/dialogflow.client
to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com
.
.google.cloud.ces.v1.Agent.RemoteDialogflowAgent remote_dialogflow_agent = 27 [(.google.api.field_behavior) = OPTIONAL];
hasUpdateTime()
public
boolean
hasUpdateTime
()
Output only. Timestamp when the agent was last updated.
.google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Agent
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
Agent
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
Agent
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

