Class ConversationLevelSilence (2.52.0)

public final class ConversationLevelSilence extends GeneratedMessageV3 implements ConversationLevelSilenceOrBuilder

Conversation-level silence data.

Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSilence

Static Fields

SILENCE_DURATION_FIELD_NUMBER

public static final int SILENCE_DURATION_FIELD_NUMBER
Field Value
Type Description
int

SILENCE_PERCENTAGE_FIELD_NUMBER

public static final int SILENCE_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConversationLevelSilence getDefaultInstance()
Returns
Type Description
ConversationLevelSilence

getDescriptor()

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

newBuilder()

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

newBuilder(ConversationLevelSilence prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConversationLevelSilence getDefaultInstanceForType()
Returns
Type Description
ConversationLevelSilence

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSilenceDuration()

public Duration getSilenceDuration()

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Returns
Type Description
Duration

The silenceDuration.

getSilenceDurationOrBuilder()

public DurationOrBuilder getSilenceDurationOrBuilder()

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Returns
Type Description
DurationOrBuilder

getSilencePercentage()

public float getSilencePercentage()

Percentage of the total conversation spent in silence.

float silence_percentage = 2;

Returns
Type Description
float

The silencePercentage.

hasSilenceDuration()

public boolean hasSilenceDuration()

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Returns
Type Description
boolean

Whether the silenceDuration 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 ConversationLevelSilence.Builder newBuilderForType()
Returns
Type Description
ConversationLevelSilence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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