Class Conversation.QualityMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
com.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.Builder
- All Implemented Interfaces:
Conversation.QualityMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Conversation.QualityMetadata
public static final class Conversation.QualityMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
implements Conversation.QualityMetadataOrBuilder
Conversation metadata related to quality management.Protobuf type
google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAgentInfo(int index, Conversation.QualityMetadata.AgentInfo value) Information about agents involved in the call.addAgentInfo(int index, Conversation.QualityMetadata.AgentInfo.Builder builderForValue) Information about agents involved in the call.Information about agents involved in the call.addAgentInfo(Conversation.QualityMetadata.AgentInfo.Builder builderForValue) Information about agents involved in the call.Information about agents involved in the call.addAgentInfoBuilder(int index) Information about agents involved in the call.addAllAgentInfo(Iterable<? extends Conversation.QualityMetadata.AgentInfo> values) Information about agents involved in the call.build()clear()Information about agents involved in the call.An arbitrary integer value indicating the customer's satisfaction rating.An arbitrary string value specifying the menu path the customer took.The amount of time the customer waited to connect with an agent.getAgentInfo(int index) Information about agents involved in the call.getAgentInfoBuilder(int index) Information about agents involved in the call.Information about agents involved in the call.intInformation about agents involved in the call.Information about agents involved in the call.getAgentInfoOrBuilder(int index) Information about agents involved in the call.Information about agents involved in the call.intAn arbitrary integer value indicating the customer's satisfaction rating.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAn arbitrary string value specifying the menu path the customer took.com.google.protobuf.ByteStringAn arbitrary string value specifying the menu path the customer took.com.google.protobuf.DurationThe amount of time the customer waited to connect with an agent.com.google.protobuf.Duration.BuilderThe amount of time the customer waited to connect with an agent.com.google.protobuf.DurationOrBuilderThe amount of time the customer waited to connect with an agent.booleanThe amount of time the customer waited to connect with an agent.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeWaitDuration(com.google.protobuf.Duration value) The amount of time the customer waited to connect with an agent.removeAgentInfo(int index) Information about agents involved in the call.setAgentInfo(int index, Conversation.QualityMetadata.AgentInfo value) Information about agents involved in the call.setAgentInfo(int index, Conversation.QualityMetadata.AgentInfo.Builder builderForValue) Information about agents involved in the call.setCustomerSatisfactionRating(int value) An arbitrary integer value indicating the customer's satisfaction rating.setMenuPath(String value) An arbitrary string value specifying the menu path the customer took.setMenuPathBytes(com.google.protobuf.ByteString value) An arbitrary string value specifying the menu path the customer took.setWaitDuration(com.google.protobuf.Duration value) The amount of time the customer waited to connect with an agent.setWaitDuration(com.google.protobuf.Duration.Builder builderForValue) The amount of time the customer waited to connect with an agent.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.QualityMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
-
mergeFrom
public Conversation.QualityMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.QualityMetadata.Builder>- Throws:
IOException
-
getCustomerSatisfactionRating
public int getCustomerSatisfactionRating()An arbitrary integer value indicating the customer's satisfaction rating.
int32 customer_satisfaction_rating = 1;- Specified by:
getCustomerSatisfactionRatingin interfaceConversation.QualityMetadataOrBuilder- Returns:
- The customerSatisfactionRating.
-
setCustomerSatisfactionRating
An arbitrary integer value indicating the customer's satisfaction rating.
int32 customer_satisfaction_rating = 1;- Parameters:
value- The customerSatisfactionRating to set.- Returns:
- This builder for chaining.
-
clearCustomerSatisfactionRating
An arbitrary integer value indicating the customer's satisfaction rating.
int32 customer_satisfaction_rating = 1;- Returns:
- This builder for chaining.
-
hasWaitDuration
public boolean hasWaitDuration()The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2;- Specified by:
hasWaitDurationin interfaceConversation.QualityMetadataOrBuilder- Returns:
- Whether the waitDuration field is set.
-
getWaitDuration
public com.google.protobuf.Duration getWaitDuration()The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2;- Specified by:
getWaitDurationin interfaceConversation.QualityMetadataOrBuilder- Returns:
- The waitDuration.
-
setWaitDuration
The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2; -
setWaitDuration
public Conversation.QualityMetadata.Builder setWaitDuration(com.google.protobuf.Duration.Builder builderForValue) The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2; -
mergeWaitDuration
The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2; -
clearWaitDuration
The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2; -
getWaitDurationBuilder
public com.google.protobuf.Duration.Builder getWaitDurationBuilder()The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2; -
getWaitDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getWaitDurationOrBuilder()The amount of time the customer waited to connect with an agent.
.google.protobuf.Duration wait_duration = 2;- Specified by:
getWaitDurationOrBuilderin interfaceConversation.QualityMetadataOrBuilder
-
getMenuPath
An arbitrary string value specifying the menu path the customer took.
string menu_path = 3;- Specified by:
getMenuPathin interfaceConversation.QualityMetadataOrBuilder- Returns:
- The menuPath.
-
getMenuPathBytes
public com.google.protobuf.ByteString getMenuPathBytes()An arbitrary string value specifying the menu path the customer took.
string menu_path = 3;- Specified by:
getMenuPathBytesin interfaceConversation.QualityMetadataOrBuilder- Returns:
- The bytes for menuPath.
-
setMenuPath
An arbitrary string value specifying the menu path the customer took.
string menu_path = 3;- Parameters:
value- The menuPath to set.- Returns:
- This builder for chaining.
-
clearMenuPath
An arbitrary string value specifying the menu path the customer took.
string menu_path = 3;- Returns:
- This builder for chaining.
-
setMenuPathBytes
An arbitrary string value specifying the menu path the customer took.
string menu_path = 3;- Parameters:
value- The bytes for menuPath to set.- Returns:
- This builder for chaining.
-
getAgentInfoList
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;- Specified by:
getAgentInfoListin interfaceConversation.QualityMetadataOrBuilder
-
getAgentInfoCount
public int getAgentInfoCount()Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;- Specified by:
getAgentInfoCountin interfaceConversation.QualityMetadataOrBuilder
-
getAgentInfo
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;- Specified by:
getAgentInfoin interfaceConversation.QualityMetadataOrBuilder
-
setAgentInfo
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; -
setAgentInfo
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; -
addAgentInfo
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; -
addAgentInfo
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; -
addAgentInfo
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; -
addAgentInfo
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; -
addAllAgentInfo
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; -
clearAgentInfo
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; -
removeAgentInfo
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; -
getAgentInfoBuilder
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; -
getAgentInfoOrBuilder
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;- Specified by:
getAgentInfoOrBuilderin interfaceConversation.QualityMetadataOrBuilder
-
getAgentInfoOrBuilderList
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;- Specified by:
getAgentInfoOrBuilderListin interfaceConversation.QualityMetadataOrBuilder
-
addAgentInfoBuilder
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; -
addAgentInfoBuilder
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; -
getAgentInfoBuilderList
Information about agents involved in the call.
repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
-