Class ConversationLevelSentiment.Builder

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

public static final class ConversationLevelSentiment.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConversationLevelSentiment.Builder> implements ConversationLevelSentimentOrBuilder
 One channel of conversation-level sentiment data.
 
Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSentiment
  • 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<ConversationLevelSentiment.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<ConversationLevelSentiment.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<ConversationLevelSentiment.Builder>
    • getDefaultInstanceForType

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

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

      public ConversationLevelSentiment.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<ConversationLevelSentiment.Builder>
      Throws:
      IOException
    • getChannelTag

      public int getChannelTag()
       The channel of the audio that the data applies to.
       
      int32 channel_tag = 1;
      Specified by:
      getChannelTag in interface ConversationLevelSentimentOrBuilder
      Returns:
      The channelTag.
    • setChannelTag

      public ConversationLevelSentiment.Builder setChannelTag(int value)
       The channel of the audio that the data applies to.
       
      int32 channel_tag = 1;
      Parameters:
      value - The channelTag to set.
      Returns:
      This builder for chaining.
    • clearChannelTag

      public ConversationLevelSentiment.Builder clearChannelTag()
       The channel of the audio that the data applies to.
       
      int32 channel_tag = 1;
      Returns:
      This builder for chaining.
    • hasSentimentData

      public boolean hasSentimentData()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
      Specified by:
      hasSentimentData in interface ConversationLevelSentimentOrBuilder
      Returns:
      Whether the sentimentData field is set.
    • getSentimentData

      public SentimentData getSentimentData()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
      Specified by:
      getSentimentData in interface ConversationLevelSentimentOrBuilder
      Returns:
      The sentimentData.
    • setSentimentData

      public ConversationLevelSentiment.Builder setSentimentData(SentimentData value)
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
    • setSentimentData

      public ConversationLevelSentiment.Builder setSentimentData(SentimentData.Builder builderForValue)
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
    • mergeSentimentData

      public ConversationLevelSentiment.Builder mergeSentimentData(SentimentData value)
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
    • clearSentimentData

      public ConversationLevelSentiment.Builder clearSentimentData()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
    • getSentimentDataBuilder

      public SentimentData.Builder getSentimentDataBuilder()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
    • getSentimentDataOrBuilder

      public SentimentDataOrBuilder getSentimentDataOrBuilder()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;
      Specified by:
      getSentimentDataOrBuilder in interface ConversationLevelSentimentOrBuilder