Class ConversationLevelSentiment.Builder (2.3.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationLevelSentiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

build()

public ConversationLevelSentiment build()
Returns
TypeDescription
ConversationLevelSentiment

buildPartial()

public ConversationLevelSentiment buildPartial()
Returns
TypeDescription
ConversationLevelSentiment

clear()

public ConversationLevelSentiment.Builder clear()
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

clearChannelTag()

public ConversationLevelSentiment.Builder clearChannelTag()

The channel of the audio that the data applies to.

int32 channel_tag = 1;

Returns
TypeDescription
ConversationLevelSentiment.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversationLevelSentiment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationLevelSentiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

clearSentimentData()

public ConversationLevelSentiment.Builder clearSentimentData()

Data specifying sentiment.

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

Returns
TypeDescription
ConversationLevelSentiment.Builder

clone()

public ConversationLevelSentiment.Builder clone()
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

getChannelTag()

public int getChannelTag()

The channel of the audio that the data applies to.

int32 channel_tag = 1;

Returns
TypeDescription
int

The channelTag.

getDefaultInstanceForType()

public ConversationLevelSentiment getDefaultInstanceForType()
Returns
TypeDescription
ConversationLevelSentiment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSentimentData()

public SentimentData getSentimentData()

Data specifying sentiment.

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

Returns
TypeDescription
SentimentData

The sentimentData.

getSentimentDataBuilder()

public SentimentData.Builder getSentimentDataBuilder()

Data specifying sentiment.

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

Returns
TypeDescription
SentimentData.Builder

getSentimentDataOrBuilder()

public SentimentDataOrBuilder getSentimentDataOrBuilder()

Data specifying sentiment.

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

Returns
TypeDescription
SentimentDataOrBuilder

hasSentimentData()

public boolean hasSentimentData()

Data specifying sentiment.

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

Returns
TypeDescription
boolean

Whether the sentimentData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConversationLevelSentiment other)

public ConversationLevelSentiment.Builder mergeFrom(ConversationLevelSentiment other)
Parameter
NameDescription
otherConversationLevelSentiment
Returns
TypeDescription
ConversationLevelSentiment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationLevelSentiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversationLevelSentiment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

mergeSentimentData(SentimentData value)

public ConversationLevelSentiment.Builder mergeSentimentData(SentimentData value)

Data specifying sentiment.

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

Parameter
NameDescription
valueSentimentData
Returns
TypeDescription
ConversationLevelSentiment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationLevelSentiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The channelTag to set.

Returns
TypeDescription
ConversationLevelSentiment.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationLevelSentiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

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

public ConversationLevelSentiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides

setSentimentData(SentimentData value)

public ConversationLevelSentiment.Builder setSentimentData(SentimentData value)

Data specifying sentiment.

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

Parameter
NameDescription
valueSentimentData
Returns
TypeDescription
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
NameDescription
builderForValueSentimentData.Builder
Returns
TypeDescription
ConversationLevelSentiment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationLevelSentiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationLevelSentiment.Builder
Overrides