public static final class AgentTransfer.Builder extends GeneratedMessage.Builder<AgentTransfer.Builder> implements AgentTransferOrBuilderRepresents an event indicating the transfer of a conversation to a different agent.
Protobuf type google.cloud.ces.v1.AgentTransfer
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentTransfer.BuilderImplements
AgentTransferOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AgentTransfer build()| Returns | |
|---|---|
| Type | Description |
AgentTransfer |
|
buildPartial()
public AgentTransfer buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentTransfer |
|
clear()
public AgentTransfer.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
|
clearDisplayName()
public AgentTransfer.Builder clearDisplayName()Output only. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
This builder for chaining. |
clearTargetAgent()
public AgentTransfer.Builder clearTargetAgent() Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AgentTransfer getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentTransfer |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getTargetAgent()
public String getTargetAgent() Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The targetAgent. |
getTargetAgentBytes()
public ByteString getTargetAgentBytes() Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetAgent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentTransfer other)
public AgentTransfer.Builder mergeFrom(AgentTransfer other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentTransfer |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentTransfer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentTransfer.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
|
setDisplayName(String value)
public AgentTransfer.Builder setDisplayName(String value)Output only. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AgentTransfer.Builder setDisplayNameBytes(ByteString value)Output only. Display name of the agent.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
This builder for chaining. |
setTargetAgent(String value)
public AgentTransfer.Builder setTargetAgent(String value) Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetAgent to set. |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
This builder for chaining. |
setTargetAgentBytes(ByteString value)
public AgentTransfer.Builder setTargetAgentBytes(ByteString value) Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetAgent to set. |
| Returns | |
|---|---|
| Type | Description |
AgentTransfer.Builder |
This builder for chaining. |