Class ConversationLevelSilence.Builder (2.52.0)

public static final class ConversationLevelSilence.Builder extends GeneratedMessageV3.Builder<ConversationLevelSilence.Builder> implements ConversationLevelSilenceOrBuilder

Conversation-level silence data.

Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSilence

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConversationLevelSilence build()
Returns
Type Description
ConversationLevelSilence

buildPartial()

public ConversationLevelSilence buildPartial()
Returns
Type Description
ConversationLevelSilence

clear()

public ConversationLevelSilence.Builder clear()
Returns
Type Description
ConversationLevelSilence.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSilenceDuration()

public ConversationLevelSilence.Builder clearSilenceDuration()

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Returns
Type Description
ConversationLevelSilence.Builder

clearSilencePercentage()

public ConversationLevelSilence.Builder clearSilencePercentage()

Percentage of the total conversation spent in silence.

float silence_percentage = 2;

Returns
Type Description
ConversationLevelSilence.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ConversationLevelSilence getDefaultInstanceForType()
Returns
Type Description
ConversationLevelSilence

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSilenceDurationBuilder()

public Duration.Builder getSilenceDurationBuilder()

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConversationLevelSilence other)

public ConversationLevelSilence.Builder mergeFrom(ConversationLevelSilence other)
Parameter
Name Description
other ConversationLevelSilence
Returns
Type Description
ConversationLevelSilence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationLevelSilence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLevelSilence.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversationLevelSilence.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConversationLevelSilence.Builder
Overrides

mergeSilenceDuration(Duration value)

public ConversationLevelSilence.Builder mergeSilenceDuration(Duration value)

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
ConversationLevelSilence.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSilenceDuration(Duration value)

public ConversationLevelSilence.Builder setSilenceDuration(Duration value)

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
ConversationLevelSilence.Builder

setSilenceDuration(Duration.Builder builderForValue)

public ConversationLevelSilence.Builder setSilenceDuration(Duration.Builder builderForValue)

Amount of time calculated to be in silence.

.google.protobuf.Duration silence_duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConversationLevelSilence.Builder

setSilencePercentage(float value)

public ConversationLevelSilence.Builder setSilencePercentage(float value)

Percentage of the total conversation spent in silence.

float silence_percentage = 2;

Parameter
Name Description
value float

The silencePercentage to set.

Returns
Type Description
ConversationLevelSilence.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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