Class IssueModelLabelStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder
All Implemented Interfaces:
IssueModelLabelStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IssueModelLabelStats

public static final class IssueModelLabelStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder> implements IssueModelLabelStatsOrBuilder
 Aggregated statistics about an issue model.
 
Protobuf type google.cloud.contactcenterinsights.v1.IssueModelLabelStats
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.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<IssueModelLabelStats.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<IssueModelLabelStats.Builder>
    • getDefaultInstanceForType

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

      public IssueModelLabelStats build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public IssueModelLabelStats.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<IssueModelLabelStats.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<IssueModelLabelStats.Builder>
    • mergeFrom

      public IssueModelLabelStats.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<IssueModelLabelStats.Builder>
      Throws:
      IOException
    • getAnalyzedConversationsCount

      public long getAnalyzedConversationsCount()
       Number of conversations the issue model has analyzed at this point in time.
       
      int64 analyzed_conversations_count = 1;
      Specified by:
      getAnalyzedConversationsCount in interface IssueModelLabelStatsOrBuilder
      Returns:
      The analyzedConversationsCount.
    • setAnalyzedConversationsCount

      public IssueModelLabelStats.Builder setAnalyzedConversationsCount(long value)
       Number of conversations the issue model has analyzed at this point in time.
       
      int64 analyzed_conversations_count = 1;
      Parameters:
      value - The analyzedConversationsCount to set.
      Returns:
      This builder for chaining.
    • clearAnalyzedConversationsCount

      public IssueModelLabelStats.Builder clearAnalyzedConversationsCount()
       Number of conversations the issue model has analyzed at this point in time.
       
      int64 analyzed_conversations_count = 1;
      Returns:
      This builder for chaining.
    • getUnclassifiedConversationsCount

      public long getUnclassifiedConversationsCount()
       Number of analyzed conversations for which no issue was applicable at this
       point in time.
       
      int64 unclassified_conversations_count = 2;
      Specified by:
      getUnclassifiedConversationsCount in interface IssueModelLabelStatsOrBuilder
      Returns:
      The unclassifiedConversationsCount.
    • setUnclassifiedConversationsCount

      public IssueModelLabelStats.Builder setUnclassifiedConversationsCount(long value)
       Number of analyzed conversations for which no issue was applicable at this
       point in time.
       
      int64 unclassified_conversations_count = 2;
      Parameters:
      value - The unclassifiedConversationsCount to set.
      Returns:
      This builder for chaining.
    • clearUnclassifiedConversationsCount

      public IssueModelLabelStats.Builder clearUnclassifiedConversationsCount()
       Number of analyzed conversations for which no issue was applicable at this
       point in time.
       
      int64 unclassified_conversations_count = 2;
      Returns:
      This builder for chaining.
    • getIssueStatsCount

      public int getIssueStatsCount()
      Description copied from interface: IssueModelLabelStatsOrBuilder
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
      Specified by:
      getIssueStatsCount in interface IssueModelLabelStatsOrBuilder
    • containsIssueStats

      public boolean containsIssueStats(String key)
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
      Specified by:
      containsIssueStats in interface IssueModelLabelStatsOrBuilder
    • getIssueStats

      Deprecated.
      Use getIssueStatsMap() instead.
      Specified by:
      getIssueStats in interface IssueModelLabelStatsOrBuilder
    • getIssueStatsMap

      public Map<String,IssueModelLabelStats.IssueStats> getIssueStatsMap()
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
      Specified by:
      getIssueStatsMap in interface IssueModelLabelStatsOrBuilder
    • getIssueStatsOrDefault

      public IssueModelLabelStats.IssueStats getIssueStatsOrDefault(String key, IssueModelLabelStats.IssueStats defaultValue)
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
      Specified by:
      getIssueStatsOrDefault in interface IssueModelLabelStatsOrBuilder
    • getIssueStatsOrThrow

      public IssueModelLabelStats.IssueStats getIssueStatsOrThrow(String key)
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
      Specified by:
      getIssueStatsOrThrow in interface IssueModelLabelStatsOrBuilder
    • clearIssueStats

      public IssueModelLabelStats.Builder clearIssueStats()
    • removeIssueStats

      public IssueModelLabelStats.Builder removeIssueStats(String key)
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
    • getMutableIssueStats

      @Deprecated public Map<String,IssueModelLabelStats.IssueStats> getMutableIssueStats()
      Deprecated.
      Use alternate mutation accessors instead.
    • putIssueStats

       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
    • putAllIssueStats

       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
    • putIssueStatsBuilderIfAbsent

      public IssueModelLabelStats.IssueStats.Builder putIssueStatsBuilderIfAbsent(String key)
       Statistics on each issue. Key is the issue's resource name.
       
      map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;