Class Conversation.QualityMetadata.Builder (2.53.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
value Conversation.QualityMetadata.AgentInfo
Returns
Type Description
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
Name Description
builderForValue Conversation.QualityMetadata.AgentInfo.Builder
Returns
Type Description
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
Name Description
index int
value Conversation.QualityMetadata.AgentInfo
Returns
Type Description
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
Name Description
index int
builderForValue Conversation.QualityMetadata.AgentInfo.Builder
Returns
Type Description
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;

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
Name Description
index int

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
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo>
Returns
Type Description
Conversation.QualityMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Conversation.QualityMetadata build()
Returns
Type Description
Conversation.QualityMetadata

buildPartial()

public Conversation.QualityMetadata buildPartial()
Returns
Type Description
Conversation.QualityMetadata

clear()

public Conversation.QualityMetadata.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
Conversation.QualityMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Conversation.QualityMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Conversation.QualityMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.QualityMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Conversation.QualityMetadata.Builder

clone()

public Conversation.QualityMetadata.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int

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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

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
Type Description
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
Type Description
int

The customerSatisfactionRating.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMenuPath()

public String getMenuPath()

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

string menu_path = 3;

Returns
Type Description
String

The menuPath.

getMenuPathBytes()

public ByteString getMenuPathBytes()

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

string menu_path = 3;

Returns
Type Description
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
Type Description
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
Type Description
Builder

getWaitDurationOrBuilder()

public DurationOrBuilder getWaitDurationOrBuilder()

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

.google.protobuf.Duration wait_duration = 2;

Returns
Type Description
DurationOrBuilder

hasWaitDuration()

public boolean hasWaitDuration()

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

.google.protobuf.Duration wait_duration = 2;

Returns
Type Description
boolean

Whether the waitDuration field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.QualityMetadata other)

public Conversation.QualityMetadata.Builder mergeFrom(Conversation.QualityMetadata other)
Parameter
Name Description
other Conversation.QualityMetadata
Returns
Type Description
Conversation.QualityMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.QualityMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.QualityMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Conversation.QualityMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Conversation.QualityMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.QualityMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value Conversation.QualityMetadata.AgentInfo
Returns
Type Description
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
Name Description
index int
builderForValue Conversation.QualityMetadata.AgentInfo.Builder
Returns
Type Description
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
Name Description
value int

The customerSatisfactionRating to set.

Returns
Type Description
Conversation.QualityMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.QualityMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The menuPath to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for menuPath to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Conversation.QualityMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.QualityMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Conversation.QualityMetadata.Builder