Class ConversationLevelSentiment (2.54.0)

public final class ConversationLevelSentiment extends GeneratedMessageV3 implements ConversationLevelSentimentOrBuilder

One channel of conversation-level sentiment data.

Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSentiment

Static Fields

CHANNEL_TAG_FIELD_NUMBER

public static final int CHANNEL_TAG_FIELD_NUMBER
Field Value
Type Description
int

SENTIMENT_DATA_FIELD_NUMBER

public static final int SENTIMENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConversationLevelSentiment getDefaultInstance()
Returns
Type Description
ConversationLevelSentiment

getDescriptor()

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

newBuilder()

public static ConversationLevelSentiment.Builder newBuilder()
Returns
Type Description
ConversationLevelSentiment.Builder

newBuilder(ConversationLevelSentiment prototype)

public static ConversationLevelSentiment.Builder newBuilder(ConversationLevelSentiment prototype)
Parameter
Name Description
prototype ConversationLevelSentiment
Returns
Type Description
ConversationLevelSentiment.Builder

parseDelimitedFrom(InputStream input)

public static ConversationLevelSentiment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationLevelSentiment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConversationLevelSentiment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationLevelSentiment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationLevelSentiment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationLevelSentiment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationLevelSentiment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationLevelSentiment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConversationLevelSentiment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationLevelSentiment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConversationLevelSentiment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationLevelSentiment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSentiment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConversationLevelSentiment> parser()
Returns
Type Description
Parser<ConversationLevelSentiment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<ConversationLevelSentiment> getParserForType()
Returns
Type Description
Parser<ConversationLevelSentiment>
Overrides

getSentimentData()

public SentimentData getSentimentData()

Data specifying sentiment.

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

Returns
Type Description
SentimentData

The sentimentData.

getSentimentDataOrBuilder()

public SentimentDataOrBuilder getSentimentDataOrBuilder()

Data specifying sentiment.

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

Returns
Type Description
SentimentDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConversationLevelSentiment.Builder newBuilderForType()
Returns
Type Description
ConversationLevelSentiment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationLevelSentiment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConversationLevelSentiment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConversationLevelSentiment.Builder toBuilder()
Returns
Type Description
ConversationLevelSentiment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException