Class Conversation.QualityMetadata.AgentInfo.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.QualityMetadata.AgentInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

build()

public Conversation.QualityMetadata.AgentInfo build()
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo

buildPartial()

public Conversation.QualityMetadata.AgentInfo buildPartial()
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo

clear()

public Conversation.QualityMetadata.AgentInfo.Builder clear()
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

clearAgentId()

public Conversation.QualityMetadata.AgentInfo.Builder clearAgentId()

A user-specified string representing the agent.

string agent_id = 1;

Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearDisplayName()

public Conversation.QualityMetadata.AgentInfo.Builder clearDisplayName()

The agent's name.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Conversation.QualityMetadata.AgentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.QualityMetadata.AgentInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

clone()

public Conversation.QualityMetadata.AgentInfo.Builder clone()
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

getAgentId()

public String getAgentId()

A user-specified string representing the agent.

string agent_id = 1;

Returns
TypeDescription
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

A user-specified string representing the agent.

string agent_id = 1;

Returns
TypeDescription
ByteString

The bytes for agentId.

getDefaultInstanceForType()

public Conversation.QualityMetadata.AgentInfo getDefaultInstanceForType()
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The agent's name.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The agent's name.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dispositionCode.

getTeam()

public String getTeam()

A user-specified string representing the agent's team.

string team = 3;

Returns
TypeDescription
String

The team.

getTeamBytes()

public ByteString getTeamBytes()

A user-specified string representing the agent's team.

string team = 3;

Returns
TypeDescription
ByteString

The bytes for team.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Conversation.QualityMetadata.AgentInfo other)

public Conversation.QualityMetadata.AgentInfo.Builder mergeFrom(Conversation.QualityMetadata.AgentInfo other)
Parameter
NameDescription
otherConversation.QualityMetadata.AgentInfo
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.QualityMetadata.AgentInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Conversation.QualityMetadata.AgentInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.QualityMetadata.AgentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The agentId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for agentId to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The dispositionCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dispositionCode to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The team to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for team to set.

Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.QualityMetadata.AgentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder
Overrides