Class Conversation.QualityMetadata.AgentInfo.Builder (2.103.0)

public static final class Conversation.QualityMetadata.AgentInfo.Builder extends GeneratedMessage.Builder<Conversation.QualityMetadata.AgentInfo.Builder> implements Conversation.QualityMetadata.AgentInfoOrBuilder

Information about an agent involved in the conversation.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTeams(Iterable<String> values)

public Conversation.QualityMetadata.AgentInfo.Builder addAllTeams(Iterable<String> values)

User-specified strings representing the agent's teams.

repeated string teams = 6;

Parameter
Name Description
values Iterable<String>

The teams to add.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

addTeams(String value)

public Conversation.QualityMetadata.AgentInfo.Builder addTeams(String value)

User-specified strings representing the agent's teams.

repeated string teams = 6;

Parameter
Name Description
value String

The teams to add.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

addTeamsBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder addTeamsBytes(ByteString value)

User-specified strings representing the agent's teams.

repeated string teams = 6;

Parameter
Name Description
value ByteString

The bytes of the teams to add.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

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
Overrides

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.

clearDeploymentDisplayName()

public Conversation.QualityMetadata.AgentInfo.Builder clearDeploymentDisplayName()

The agent's deployment display name. Only applicable to automated agents.

string deployment_display_name = 9;

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearDeploymentId()

public Conversation.QualityMetadata.AgentInfo.Builder clearDeploymentId()

The agent's deployment ID. Only applicable to automated agents.

string deployment_id = 8;

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.

clearEntrySubagentDisplayName()

public Conversation.QualityMetadata.AgentInfo.Builder clearEntrySubagentDisplayName()

The entry subagent's display name.

string entry_subagent_display_name = 12;

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearEntrySubagentId()

public Conversation.QualityMetadata.AgentInfo.Builder clearEntrySubagentId()

The entry subagent's ID.

string entry_subagent_id = 13;

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearLocation()

public Conversation.QualityMetadata.AgentInfo.Builder clearLocation()

The agent's location.

string location = 7;

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearTeam() (deprecated)

public Conversation.QualityMetadata.AgentInfo.Builder clearTeam()

Deprecated. google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo.team is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=97

A user-specified string representing the agent's team. Deprecated in favor of the teams field.

string team = 3 [deprecated = true];

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearTeams()

public Conversation.QualityMetadata.AgentInfo.Builder clearTeams()

User-specified strings representing the agent's teams.

repeated string teams = 6;

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearVersionDisplayName()

public Conversation.QualityMetadata.AgentInfo.Builder clearVersionDisplayName()

The agent's version display name. Only applicable to automated agents.

string version_display_name = 11;

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearVersionId()

public Conversation.QualityMetadata.AgentInfo.Builder clearVersionId()

The agent's version ID. Only applicable to automated agents.

string version_id = 10;

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

getDeploymentDisplayName()

public String getDeploymentDisplayName()

The agent's deployment display name. Only applicable to automated agents.

string deployment_display_name = 9;

Returns
Type Description
String

The deploymentDisplayName.

getDeploymentDisplayNameBytes()

public ByteString getDeploymentDisplayNameBytes()

The agent's deployment display name. Only applicable to automated agents.

string deployment_display_name = 9;

Returns
Type Description
ByteString

The bytes for deploymentDisplayName.

getDeploymentId()

public String getDeploymentId()

The agent's deployment ID. Only applicable to automated agents.

string deployment_id = 8;

Returns
Type Description
String

The deploymentId.

getDeploymentIdBytes()

public ByteString getDeploymentIdBytes()

The agent's deployment ID. Only applicable to automated agents.

string deployment_id = 8;

Returns
Type Description
ByteString

The bytes for deploymentId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEntrySubagentDisplayName()

public String getEntrySubagentDisplayName()

The entry subagent's display name.

string entry_subagent_display_name = 12;

Returns
Type Description
String

The entrySubagentDisplayName.

getEntrySubagentDisplayNameBytes()

public ByteString getEntrySubagentDisplayNameBytes()

The entry subagent's display name.

string entry_subagent_display_name = 12;

Returns
Type Description
ByteString

The bytes for entrySubagentDisplayName.

getEntrySubagentId()

public String getEntrySubagentId()

The entry subagent's ID.

string entry_subagent_id = 13;

Returns
Type Description
String

The entrySubagentId.

getEntrySubagentIdBytes()

public ByteString getEntrySubagentIdBytes()

The entry subagent's ID.

string entry_subagent_id = 13;

Returns
Type Description
ByteString

The bytes for entrySubagentId.

getLocation()

public String getLocation()

The agent's location.

string location = 7;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The agent's location.

string location = 7;

Returns
Type Description
ByteString

The bytes for location.

getTeam() (deprecated)

public String getTeam()

Deprecated. google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo.team is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=97

A user-specified string representing the agent's team. Deprecated in favor of the teams field.

string team = 3 [deprecated = true];

Returns
Type Description
String

The team.

getTeamBytes() (deprecated)

public ByteString getTeamBytes()

Deprecated. google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo.team is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=97

A user-specified string representing the agent's team. Deprecated in favor of the teams field.

string team = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for team.

getTeams(int index)

public String getTeams(int index)

User-specified strings representing the agent's teams.

repeated string teams = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The teams at the given index.

getTeamsBytes(int index)

public ByteString getTeamsBytes(int index)

User-specified strings representing the agent's teams.

repeated string teams = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the teams at the given index.

getTeamsCount()

public int getTeamsCount()

User-specified strings representing the agent's teams.

repeated string teams = 6;

Returns
Type Description
int

The count of teams.

getTeamsList()

public ProtocolStringList getTeamsList()

User-specified strings representing the agent's teams.

repeated string teams = 6;

Returns
Type Description
ProtocolStringList

A list containing the teams.

getVersionDisplayName()

public String getVersionDisplayName()

The agent's version display name. Only applicable to automated agents.

string version_display_name = 11;

Returns
Type Description
String

The versionDisplayName.

getVersionDisplayNameBytes()

public ByteString getVersionDisplayNameBytes()

The agent's version display name. Only applicable to automated agents.

string version_display_name = 11;

Returns
Type Description
ByteString

The bytes for versionDisplayName.

getVersionId()

public String getVersionId()

The agent's version ID. Only applicable to automated agents.

string version_id = 10;

Returns
Type Description
String

The versionId.

getVersionIdBytes()

public ByteString getVersionIdBytes()

The agent's version ID. Only applicable to automated agents.

string version_id = 10;

Returns
Type Description
ByteString

The bytes for versionId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 String

The 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 ByteString

The 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.Role

The 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 int

The enum numeric value on the wire for agentType to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setDeploymentDisplayName(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setDeploymentDisplayName(String value)

The agent's deployment display name. Only applicable to automated agents.

string deployment_display_name = 9;

Parameter
Name Description
value String

The deploymentDisplayName to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setDeploymentDisplayNameBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setDeploymentDisplayNameBytes(ByteString value)

The agent's deployment display name. Only applicable to automated agents.

string deployment_display_name = 9;

Parameter
Name Description
value ByteString

The bytes for deploymentDisplayName to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setDeploymentId(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setDeploymentId(String value)

The agent's deployment ID. Only applicable to automated agents.

string deployment_id = 8;

Parameter
Name Description
value String

The deploymentId to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setDeploymentIdBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setDeploymentIdBytes(ByteString value)

The agent's deployment ID. Only applicable to automated agents.

string deployment_id = 8;

Parameter
Name Description
value ByteString

The bytes for deploymentId 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for dispositionCode to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setEntrySubagentDisplayName(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setEntrySubagentDisplayName(String value)

The entry subagent's display name.

string entry_subagent_display_name = 12;

Parameter
Name Description
value String

The entrySubagentDisplayName to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setEntrySubagentDisplayNameBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setEntrySubagentDisplayNameBytes(ByteString value)

The entry subagent's display name.

string entry_subagent_display_name = 12;

Parameter
Name Description
value ByteString

The bytes for entrySubagentDisplayName to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setEntrySubagentId(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setEntrySubagentId(String value)

The entry subagent's ID.

string entry_subagent_id = 13;

Parameter
Name Description
value String

The entrySubagentId to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setEntrySubagentIdBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setEntrySubagentIdBytes(ByteString value)

The entry subagent's ID.

string entry_subagent_id = 13;

Parameter
Name Description
value ByteString

The bytes for entrySubagentId to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setLocation(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setLocation(String value)

The agent's location.

string location = 7;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setLocationBytes(ByteString value)

The agent's location.

string location = 7;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setTeam(String value) (deprecated)

public Conversation.QualityMetadata.AgentInfo.Builder setTeam(String value)

Deprecated. google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo.team is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=97

A user-specified string representing the agent's team. Deprecated in favor of the teams field.

string team = 3 [deprecated = true];

Parameter
Name Description
value String

The team to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setTeamBytes(ByteString value) (deprecated)

public Conversation.QualityMetadata.AgentInfo.Builder setTeamBytes(ByteString value)

Deprecated. google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo.team is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=97

A user-specified string representing the agent's team. Deprecated in favor of the teams field.

string team = 3 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for team to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setTeams(int index, String value)

public Conversation.QualityMetadata.AgentInfo.Builder setTeams(int index, String value)

User-specified strings representing the agent's teams.

repeated string teams = 6;

Parameters
Name Description
index int

The index to set the value at.

value String

The teams to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setVersionDisplayName(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setVersionDisplayName(String value)

The agent's version display name. Only applicable to automated agents.

string version_display_name = 11;

Parameter
Name Description
value String

The versionDisplayName to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setVersionDisplayNameBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setVersionDisplayNameBytes(ByteString value)

The agent's version display name. Only applicable to automated agents.

string version_display_name = 11;

Parameter
Name Description
value ByteString

The bytes for versionDisplayName to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setVersionId(String value)

public Conversation.QualityMetadata.AgentInfo.Builder setVersionId(String value)

The agent's version ID. Only applicable to automated agents.

string version_id = 10;

Parameter
Name Description
value String

The versionId to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setVersionIdBytes(ByteString value)

public Conversation.QualityMetadata.AgentInfo.Builder setVersionIdBytes(ByteString value)

The agent's version ID. Only applicable to automated agents.

string version_id = 10;

Parameter
Name Description
value ByteString

The bytes for versionId to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.