public static final class ConversationLevelSentiment.Builder extends GeneratedMessage.Builder<ConversationLevelSentiment.Builder> implements ConversationLevelSentimentOrBuilderOne channel of conversation-level sentiment data.
Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSentiment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConversationLevelSentiment.BuilderImplements
ConversationLevelSentimentOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConversationLevelSentiment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConversationLevelSentiment.Builder |
|
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 |
intThe 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 |
|