Class ConversationLevelSentiment.Builder (2.46.0)

public static final class ConversationLevelSentiment.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationLevelSentiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ConversationLevelSentiment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationLevelSentiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

clearSentimentData()

public ConversationLevelSentiment.Builder clearSentimentData()

Data specifying sentiment.

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

Returns
Type Description
ConversationLevelSentiment.Builder

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationLevelSentiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationLevelSentiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversationLevelSentiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationLevelSentiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides