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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Conversation.QualityMetadata.Builder>
    • getDefaultInstanceForType

      public Conversation.QualityMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Conversation.QualityMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Conversation.QualityMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.QualityMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getCustomerSatisfactionRating in interface Conversation.QualityMetadataOrBuilder
      Returns:
      The customerSatisfactionRating.
    • setCustomerSatisfactionRating

      public Conversation.QualityMetadata.Builder setCustomerSatisfactionRating(int value)
       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

      public Conversation.QualityMetadata.Builder 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:
      hasWaitDuration in interface Conversation.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:
      getWaitDuration in interface Conversation.QualityMetadataOrBuilder
      Returns:
      The waitDuration.
    • setWaitDuration

      public Conversation.QualityMetadata.Builder setWaitDuration(com.google.protobuf.Duration value)
       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

      public Conversation.QualityMetadata.Builder mergeWaitDuration(com.google.protobuf.Duration value)
       The amount of time the customer waited to connect with an agent.
       
      .google.protobuf.Duration wait_duration = 2;
    • clearWaitDuration

      public Conversation.QualityMetadata.Builder 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:
      getWaitDurationOrBuilder in interface Conversation.QualityMetadataOrBuilder
    • getMenuPath

      public String getMenuPath()
       An arbitrary string value specifying the menu path the customer took.
       
      string menu_path = 3;
      Specified by:
      getMenuPath in interface Conversation.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:
      getMenuPathBytes in interface Conversation.QualityMetadataOrBuilder
      Returns:
      The bytes for menuPath.
    • setMenuPath

      public Conversation.QualityMetadata.Builder setMenuPath(String value)
       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

      public Conversation.QualityMetadata.Builder clearMenuPath()
       An arbitrary string value specifying the menu path the customer took.
       
      string menu_path = 3;
      Returns:
      This builder for chaining.
    • setMenuPathBytes

      public Conversation.QualityMetadata.Builder setMenuPathBytes(com.google.protobuf.ByteString value)
       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

      public List<Conversation.QualityMetadata.AgentInfo> getAgentInfoList()
       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
      Specified by:
      getAgentInfoList in interface Conversation.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:
      getAgentInfoCount in interface Conversation.QualityMetadataOrBuilder
    • getAgentInfo

      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;
      Specified by:
      getAgentInfo in interface Conversation.QualityMetadataOrBuilder
    • setAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • setAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • addAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • addAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • addAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • addAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • addAllAgentInfo

       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • clearAgentInfo

      public Conversation.QualityMetadata.Builder clearAgentInfo()
       Information about agents involved in the call.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4;
    • removeAgentInfo

      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;
    • getAgentInfoBuilder

      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;
    • getAgentInfoOrBuilder

      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;
      Specified by:
      getAgentInfoOrBuilder in interface Conversation.QualityMetadataOrBuilder
    • 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;
      Specified by:
      getAgentInfoOrBuilderList in interface Conversation.QualityMetadataOrBuilder
    • 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

      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;
    • 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;