Class ConversationLevelSentiment.Builder (2.83.0)

public static final class ConversationLevelSentiment.Builder extends GeneratedMessage.Builder<ConversationLevelSentiment.Builder> implements ConversationLevelSentimentOrBuilder

One channel of conversation-level sentiment data.

Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSentiment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ConversationLevelSentiment build()
Returns
Type Description
ConversationLevelSentiment

buildPartial()

public ConversationLevelSentiment buildPartial()
Returns
Type Description
ConversationLevelSentiment

clear()

public ConversationLevelSentiment.Builder clear()
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

clearChannelTag()

public ConversationLevelSentiment.Builder clearChannelTag()

The channel of the audio that the data applies to.

int32 channel_tag = 1;

Returns
Type Description
ConversationLevelSentiment.Builder

This builder for chaining.

clearSentimentData()

public ConversationLevelSentiment.Builder clearSentimentData()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Returns
Type Description
ConversationLevelSentiment.Builder

getChannelTag()

public int getChannelTag()

The channel of the audio that the data applies to.

int32 channel_tag = 1;

Returns
Type Description
int

The channelTag.

getDefaultInstanceForType()

public ConversationLevelSentiment getDefaultInstanceForType()
Returns
Type Description
ConversationLevelSentiment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSentimentData()

public SentimentData getSentimentData()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Returns
Type Description
SentimentData

The sentimentData.

getSentimentDataBuilder()

public SentimentData.Builder getSentimentDataBuilder()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Returns
Type Description
SentimentData.Builder

getSentimentDataOrBuilder()

public SentimentDataOrBuilder getSentimentDataOrBuilder()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Returns
Type Description
SentimentDataOrBuilder

hasSentimentData()

public boolean hasSentimentData()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Returns
Type Description
boolean

Whether the sentimentData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConversationLevelSentiment other)

public ConversationLevelSentiment.Builder mergeFrom(ConversationLevelSentiment other)
Parameter
Name Description
other ConversationLevelSentiment
Returns
Type Description
ConversationLevelSentiment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationLevelSentiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversationLevelSentiment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

mergeSentimentData(SentimentData value)

public ConversationLevelSentiment.Builder mergeSentimentData(SentimentData value)

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Parameter
Name Description
value SentimentData
Returns
Type Description
ConversationLevelSentiment.Builder

setChannelTag(int value)

public ConversationLevelSentiment.Builder setChannelTag(int value)

The channel of the audio that the data applies to.

int32 channel_tag = 1;

Parameter
Name Description
value int

The channelTag to set.

Returns
Type Description
ConversationLevelSentiment.Builder

This builder for chaining.

setSentimentData(SentimentData value)

public ConversationLevelSentiment.Builder setSentimentData(SentimentData value)

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Parameter
Name Description
value SentimentData
Returns
Type Description
ConversationLevelSentiment.Builder

setSentimentData(SentimentData.Builder builderForValue)

public ConversationLevelSentiment.Builder setSentimentData(SentimentData.Builder builderForValue)

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 2;

Parameter
Name Description
builderForValue SentimentData.Builder
Returns
Type Description
ConversationLevelSentiment.Builder