public static final class RemoteAgentTool.Builder extends GeneratedMessage.Builder<RemoteAgentTool.Builder> implements RemoteAgentToolOrBuilderRepresents a tool that allows the agent to call another remote agent.
Protobuf type google.cloud.ces.v1beta.RemoteAgentTool
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RemoteAgentTool.BuilderImplements
RemoteAgentToolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RemoteAgentTool build()| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool |
|
buildPartial()
public RemoteAgentTool buildPartial()| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool |
|
clear()
public RemoteAgentTool.Builder clear()| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
clearAgentCard()
public RemoteAgentTool.Builder clearAgentCard()Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
clearDescription()
public RemoteAgentTool.Builder clearDescription()Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
This builder for chaining. |
clearName()
public RemoteAgentTool.Builder clearName()Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
This builder for chaining. |
getAgentCard()
public AgentCard getAgentCard()Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AgentCard |
The agentCard. |
getAgentCardBuilder()
public AgentCard.Builder getAgentCardBuilder()Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
getAgentCardOrBuilder()
public AgentCardOrBuilder getAgentCardOrBuilder()Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AgentCardOrBuilder |
|
getDefaultInstanceForType()
public RemoteAgentTool getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool |
|
getDescription()
public String getDescription()Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasAgentCard()
public boolean hasAgentCard()Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentCard field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgentCard(AgentCard value)
public RemoteAgentTool.Builder mergeAgentCard(AgentCard value)Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCard |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
mergeFrom(RemoteAgentTool other)
public RemoteAgentTool.Builder mergeFrom(RemoteAgentTool other)| Parameter | |
|---|---|
| Name | Description |
other |
RemoteAgentTool |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoteAgentTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RemoteAgentTool.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
setAgentCard(AgentCard value)
public RemoteAgentTool.Builder setAgentCard(AgentCard value)Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCard |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
setAgentCard(AgentCard.Builder builderForValue)
public RemoteAgentTool.Builder setAgentCard(AgentCard.Builder builderForValue)Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCard.Builder |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
|
setDescription(String value)
public RemoteAgentTool.Builder setDescription(String value)Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public RemoteAgentTool.Builder setDescriptionBytes(ByteString value)Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
This builder for chaining. |
setName(String value)
public RemoteAgentTool.Builder setName(String value)Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RemoteAgentTool.Builder setNameBytes(ByteString value)Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteAgentTool.Builder |
This builder for chaining. |