Class Conversation.QualityMetadata.Builder (2.41.0)

public static final class Conversation.QualityMetadata.Builder extends GeneratedMessageV3.Builder<Conversation.QualityMetadata.Builder> implements Conversation.QualityMetadataOrBuilder

Conversation metadata related to quality management.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAgentInfo(Conversation.QualityMetadata.AgentInfo value)

public Conversation.QualityMetadata.Builder addAgentInfo(Conversation.QualityMetadata.AgentInfo value)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
valueConversation.QualityMetadata.AgentInfo
Returns
TypeDescription
Conversation.QualityMetadata.Builder

addAgentInfo(Conversation.QualityMetadata.AgentInfo.Builder builderForValue)

public Conversation.QualityMetadata.Builder addAgentInfo(Conversation.QualityMetadata.AgentInfo.Builder builderForValue)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
builderForValueConversation.QualityMetadata.AgentInfo.Builder
Returns
TypeDescription
Conversation.QualityMetadata.Builder

addAgentInfo(int index, Conversation.QualityMetadata.AgentInfo value)

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

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameters
NameDescription
indexint
valueConversation.QualityMetadata.AgentInfo
Returns
TypeDescription
Conversation.QualityMetadata.Builder

addAgentInfo(int index, Conversation.QualityMetadata.AgentInfo.Builder builderForValue)

public Conversation.QualityMetadata.Builder addAgentInfo(int index, Conversation.QualityMetadata.AgentInfo.Builder builderForValue)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameters
NameDescription
indexint
builderForValueConversation.QualityMetadata.AgentInfo.Builder
Returns
TypeDescription
Conversation.QualityMetadata.Builder

addAgentInfoBuilder()

public Conversation.QualityMetadata.AgentInfo.Builder addAgentInfoBuilder()

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

addAgentInfoBuilder(int index)

public Conversation.QualityMetadata.AgentInfo.Builder addAgentInfoBuilder(int index)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

addAllAgentInfo(Iterable<? extends Conversation.QualityMetadata.AgentInfo> values)

public Conversation.QualityMetadata.Builder addAllAgentInfo(Iterable<? extends Conversation.QualityMetadata.AgentInfo> values)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo>
Returns
TypeDescription
Conversation.QualityMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAgentInfo()

public Conversation.QualityMetadata.Builder clearAgentInfo()

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Returns
TypeDescription
Conversation.QualityMetadata.Builder

clearCustomerSatisfactionRating()

public Conversation.QualityMetadata.Builder clearCustomerSatisfactionRating()

An arbitrary integer value indicating the customer's satisfaction rating.

int32 customer_satisfaction_rating = 1;

Returns
TypeDescription
Conversation.QualityMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMenuPath()

public Conversation.QualityMetadata.Builder clearMenuPath()

An arbitrary string value specifying the menu path the customer took.

string menu_path = 3;

Returns
TypeDescription
Conversation.QualityMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.QualityMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Conversation.QualityMetadata.Builder
Overrides

clearWaitDuration()

public Conversation.QualityMetadata.Builder clearWaitDuration()

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Returns
TypeDescription
Conversation.QualityMetadata.Builder

clone()

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

getAgentInfo(int index)

public Conversation.QualityMetadata.AgentInfo getAgentInfo(int index)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo

getAgentInfoBuilder(int index)

public Conversation.QualityMetadata.AgentInfo.Builder getAgentInfoBuilder(int index)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfo.Builder

getAgentInfoBuilderList()

public List<Conversation.QualityMetadata.AgentInfo.Builder> getAgentInfoBuilderList()

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Returns
TypeDescription
List<Builder>

getAgentInfoCount()

public int getAgentInfoCount()

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Returns
TypeDescription
int

getAgentInfoList()

public List<Conversation.QualityMetadata.AgentInfo> getAgentInfoList()

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Returns
TypeDescription
List<AgentInfo>

getAgentInfoOrBuilder(int index)

public Conversation.QualityMetadata.AgentInfoOrBuilder getAgentInfoOrBuilder(int index)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.QualityMetadata.AgentInfoOrBuilder

getAgentInfoOrBuilderList()

public List<? extends Conversation.QualityMetadata.AgentInfoOrBuilder> getAgentInfoOrBuilderList()

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfoOrBuilder>

getCustomerSatisfactionRating()

public int getCustomerSatisfactionRating()

An arbitrary integer value indicating the customer's satisfaction rating.

int32 customer_satisfaction_rating = 1;

Returns
TypeDescription
int

The customerSatisfactionRating.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMenuPath()

public String getMenuPath()

An arbitrary string value specifying the menu path the customer took.

string menu_path = 3;

Returns
TypeDescription
String

The menuPath.

getMenuPathBytes()

public ByteString getMenuPathBytes()

An arbitrary string value specifying the menu path the customer took.

string menu_path = 3;

Returns
TypeDescription
ByteString

The bytes for menuPath.

getWaitDuration()

public Duration getWaitDuration()

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Returns
TypeDescription
Duration

The waitDuration.

getWaitDurationBuilder()

public Duration.Builder getWaitDurationBuilder()

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Returns
TypeDescription
Builder

getWaitDurationOrBuilder()

public DurationOrBuilder getWaitDurationOrBuilder()

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Returns
TypeDescription
DurationOrBuilder

hasWaitDuration()

public boolean hasWaitDuration()

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Returns
TypeDescription
boolean

Whether the waitDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Conversation.QualityMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWaitDuration(Duration value)

public Conversation.QualityMetadata.Builder mergeWaitDuration(Duration value)

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Conversation.QualityMetadata.Builder

removeAgentInfo(int index)

public Conversation.QualityMetadata.Builder removeAgentInfo(int index)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.QualityMetadata.Builder

setAgentInfo(int index, Conversation.QualityMetadata.AgentInfo value)

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

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameters
NameDescription
indexint
valueConversation.QualityMetadata.AgentInfo
Returns
TypeDescription
Conversation.QualityMetadata.Builder

setAgentInfo(int index, Conversation.QualityMetadata.AgentInfo.Builder builderForValue)

public Conversation.QualityMetadata.Builder setAgentInfo(int index, Conversation.QualityMetadata.AgentInfo.Builder builderForValue)

Information about agents involved in the call.

repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;

Parameters
NameDescription
indexint
builderForValueConversation.QualityMetadata.AgentInfo.Builder
Returns
TypeDescription
Conversation.QualityMetadata.Builder

setCustomerSatisfactionRating(int value)

public Conversation.QualityMetadata.Builder setCustomerSatisfactionRating(int value)

An arbitrary integer value indicating the customer's satisfaction rating.

int32 customer_satisfaction_rating = 1;

Parameter
NameDescription
valueint

The customerSatisfactionRating to set.

Returns
TypeDescription
Conversation.QualityMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMenuPath(String value)

public Conversation.QualityMetadata.Builder setMenuPath(String value)

An arbitrary string value specifying the menu path the customer took.

string menu_path = 3;

Parameter
NameDescription
valueString

The menuPath to set.

Returns
TypeDescription
Conversation.QualityMetadata.Builder

This builder for chaining.

setMenuPathBytes(ByteString value)

public Conversation.QualityMetadata.Builder setMenuPathBytes(ByteString value)

An arbitrary string value specifying the menu path the customer took.

string menu_path = 3;

Parameter
NameDescription
valueByteString

The bytes for menuPath to set.

Returns
TypeDescription
Conversation.QualityMetadata.Builder

This builder for chaining.

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

public Conversation.QualityMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Conversation.QualityMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setWaitDuration(Duration value)

public Conversation.QualityMetadata.Builder setWaitDuration(Duration value)

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Conversation.QualityMetadata.Builder

setWaitDuration(Duration.Builder builderForValue)

public Conversation.QualityMetadata.Builder setWaitDuration(Duration.Builder builderForValue)

The amount of time the customer waited to connect with an agent.

.google.protobuf.Duration wait_duration = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Conversation.QualityMetadata.Builder