Class IssueModelLabelStats.IssueStats.Builder

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

public static final class IssueModelLabelStats.IssueStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.IssueStats.Builder> implements IssueModelLabelStats.IssueStatsOrBuilder
 Aggregated statistics about an issue.
 
Protobuf type google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats
  • 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<IssueModelLabelStats.IssueStats.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.IssueStats.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.IssueStats.Builder>
    • getDefaultInstanceForType

      public IssueModelLabelStats.IssueStats 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 IssueModelLabelStats.IssueStats buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getIssue()
       Issue resource.
       Format:
       projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
       
      string issue = 1;
      Specified by:
      getIssue in interface IssueModelLabelStats.IssueStatsOrBuilder
      Returns:
      The issue.
    • getIssueBytes

      public com.google.protobuf.ByteString getIssueBytes()
       Issue resource.
       Format:
       projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
       
      string issue = 1;
      Specified by:
      getIssueBytes in interface IssueModelLabelStats.IssueStatsOrBuilder
      Returns:
      The bytes for issue.
    • setIssue

       Issue resource.
       Format:
       projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
       
      string issue = 1;
      Parameters:
      value - The issue to set.
      Returns:
      This builder for chaining.
    • clearIssue

       Issue resource.
       Format:
       projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
       
      string issue = 1;
      Returns:
      This builder for chaining.
    • setIssueBytes

      public IssueModelLabelStats.IssueStats.Builder setIssueBytes(com.google.protobuf.ByteString value)
       Issue resource.
       Format:
       projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
       
      string issue = 1;
      Parameters:
      value - The bytes for issue to set.
      Returns:
      This builder for chaining.
    • getLabeledConversationsCount

      public long getLabeledConversationsCount()
       Number of conversations attached to the issue at this point in time.
       
      int64 labeled_conversations_count = 2;
      Specified by:
      getLabeledConversationsCount in interface IssueModelLabelStats.IssueStatsOrBuilder
      Returns:
      The labeledConversationsCount.
    • setLabeledConversationsCount

      public IssueModelLabelStats.IssueStats.Builder setLabeledConversationsCount(long value)
       Number of conversations attached to the issue at this point in time.
       
      int64 labeled_conversations_count = 2;
      Parameters:
      value - The labeledConversationsCount to set.
      Returns:
      This builder for chaining.
    • clearLabeledConversationsCount

      public IssueModelLabelStats.IssueStats.Builder clearLabeledConversationsCount()
       Number of conversations attached to the issue at this point in time.
       
      int64 labeled_conversations_count = 2;
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Display name of the issue.
       
      string display_name = 3;
      Specified by:
      getDisplayName in interface IssueModelLabelStats.IssueStatsOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Display name of the issue.
       
      string display_name = 3;
      Specified by:
      getDisplayNameBytes in interface IssueModelLabelStats.IssueStatsOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public IssueModelLabelStats.IssueStats.Builder setDisplayName(String value)
       Display name of the issue.
       
      string display_name = 3;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public IssueModelLabelStats.IssueStats.Builder clearDisplayName()
       Display name of the issue.
       
      string display_name = 3;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public IssueModelLabelStats.IssueStats.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Display name of the issue.
       
      string display_name = 3;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.