public static final class Conversation.QualityMetadata.AgentInfo.Builder extends GeneratedMessage.Builder<Conversation.QualityMetadata.AgentInfo.Builder> implements Conversation.QualityMetadata.AgentInfoOrBuilderInformation about an agent involved in the conversation.
Protobuf type
google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Conversation.QualityMetadata.AgentInfo.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Conversation.QualityMetadata.AgentInfo build()| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo |
|
buildPartial()
public Conversation.QualityMetadata.AgentInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo |
|
clear()
public Conversation.QualityMetadata.AgentInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
|
clearAgentId()
public Conversation.QualityMetadata.AgentInfo.Builder clearAgentId()A user-specified string representing the agent.
string agent_id = 1;
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
clearAgentType()
public Conversation.QualityMetadata.AgentInfo.Builder clearAgentType()The agent type, e.g. HUMAN_AGENT.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
clearDisplayName()
public Conversation.QualityMetadata.AgentInfo.Builder clearDisplayName()The agent's name.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
clearDispositionCode()
public Conversation.QualityMetadata.AgentInfo.Builder clearDispositionCode()A user-provided string indicating the outcome of the agent's segment of the call.
string disposition_code = 4;
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
clearTeam()
public Conversation.QualityMetadata.AgentInfo.Builder clearTeam()A user-specified string representing the agent's team.
string team = 3;
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
getAgentId()
public String getAgentId()A user-specified string representing the agent.
string agent_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The agentId. |
getAgentIdBytes()
public ByteString getAgentIdBytes()A user-specified string representing the agent.
string agent_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentId. |
getAgentType()
public ConversationParticipant.Role getAgentType()The agent type, e.g. HUMAN_AGENT.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
| Returns | |
|---|---|
| Type | Description |
ConversationParticipant.Role |
The agentType. |
getAgentTypeValue()
public int getAgentTypeValue()The agent type, e.g. HUMAN_AGENT.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for agentType. |
getDefaultInstanceForType()
public Conversation.QualityMetadata.AgentInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The agent's name.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The agent's name.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getDispositionCode()
public String getDispositionCode()A user-provided string indicating the outcome of the agent's segment of the call.
string disposition_code = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The dispositionCode. |
getDispositionCodeBytes()
public ByteString getDispositionCodeBytes()A user-provided string indicating the outcome of the agent's segment of the call.
string disposition_code = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dispositionCode. |
getTeam()
public String getTeam()A user-specified string representing the agent's team.
string team = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The team. |
getTeamBytes()
public ByteString getTeamBytes()A user-specified string representing the agent's team.
string team = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for team. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Conversation.QualityMetadata.AgentInfo other)
public Conversation.QualityMetadata.AgentInfo.Builder mergeFrom(Conversation.QualityMetadata.AgentInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
Conversation.QualityMetadata.AgentInfo |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Conversation.QualityMetadata.AgentInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Conversation.QualityMetadata.AgentInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
|
setAgentId(String value)
public Conversation.QualityMetadata.AgentInfo.Builder setAgentId(String value)A user-specified string representing the agent.
string agent_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentId to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setAgentIdBytes(ByteString value)
public Conversation.QualityMetadata.AgentInfo.Builder setAgentIdBytes(ByteString value)A user-specified string representing the agent.
string agent_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentId to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setAgentType(ConversationParticipant.Role value)
public Conversation.QualityMetadata.AgentInfo.Builder setAgentType(ConversationParticipant.Role value)The agent type, e.g. HUMAN_AGENT.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ConversationParticipant.RoleThe agentType to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setAgentTypeValue(int value)
public Conversation.QualityMetadata.AgentInfo.Builder setAgentTypeValue(int value)The agent type, e.g. HUMAN_AGENT.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for agentType to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setDisplayName(String value)
public Conversation.QualityMetadata.AgentInfo.Builder setDisplayName(String value)The agent's name.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Conversation.QualityMetadata.AgentInfo.Builder setDisplayNameBytes(ByteString value)The agent's name.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setDispositionCode(String value)
public Conversation.QualityMetadata.AgentInfo.Builder setDispositionCode(String value)A user-provided string indicating the outcome of the agent's segment of the call.
string disposition_code = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dispositionCode to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setDispositionCodeBytes(ByteString value)
public Conversation.QualityMetadata.AgentInfo.Builder setDispositionCodeBytes(ByteString value)A user-provided string indicating the outcome of the agent's segment of the call.
string disposition_code = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dispositionCode to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setTeam(String value)
public Conversation.QualityMetadata.AgentInfo.Builder setTeam(String value)A user-specified string representing the agent's team.
string team = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe team to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |
setTeamBytes(ByteString value)
public Conversation.QualityMetadata.AgentInfo.Builder setTeamBytes(ByteString value)A user-specified string representing the agent's team.
string team = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for team to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.QualityMetadata.AgentInfo.Builder |
This builder for chaining. |