Class Conversation.QualityMetadata.AgentInfo.Builder (2.44.0)

public static final class Conversation.QualityMetadata.AgentInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.QualityMetadata.AgentInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

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.

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.

clearField(Descriptors.FieldDescriptor field)

public Conversation.QualityMetadata.AgentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.QualityMetadata.AgentInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

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.

clone()

public Conversation.QualityMetadata.AgentInfo.Builder clone()
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

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.

getDefaultInstanceForType()

public Conversation.QualityMetadata.AgentInfo getDefaultInstanceForType()
Returns
Type Description
Conversation.QualityMetadata.AgentInfo

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.

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.QualityMetadata.AgentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

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.

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.QualityMetadata.AgentInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Conversation.QualityMetadata.AgentInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

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 String

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

The bytes for team to set.

Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.QualityMetadata.AgentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.QualityMetadata.AgentInfo.Builder
Overrides