public static final class ConversationLevelSilence.Builder extends GeneratedMessageV3.Builder<ConversationLevelSilence.Builder> implements ConversationLevelSilenceOrBuilder
Conversation-level silence data.
Protobuf type google.cloud.contactcenterinsights.v1.ConversationLevelSilence
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ConversationLevelSilence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ConversationLevelSilence build()
public ConversationLevelSilence buildPartial()
public ConversationLevelSilence.Builder clear()
Overrides
public ConversationLevelSilence.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ConversationLevelSilence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ConversationLevelSilence.Builder clearSilenceDuration()
Amount of time calculated to be in silence.
.google.protobuf.Duration silence_duration = 1;
public ConversationLevelSilence.Builder clearSilencePercentage()
Percentage of the total conversation spent in silence.
float silence_percentage = 2;
public ConversationLevelSilence.Builder clone()
Overrides
public ConversationLevelSilence getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Duration getSilenceDuration()
Amount of time calculated to be in silence.
.google.protobuf.Duration silence_duration = 1;
Returns |
Type |
Description |
Duration |
The silenceDuration.
|
public Duration.Builder getSilenceDurationBuilder()
Amount of time calculated to be in silence.
.google.protobuf.Duration silence_duration = 1;
public DurationOrBuilder getSilenceDurationOrBuilder()
Amount of time calculated to be in silence.
.google.protobuf.Duration silence_duration = 1;
public float getSilencePercentage()
Percentage of the total conversation spent in silence.
float silence_percentage = 2;
Returns |
Type |
Description |
float |
The silencePercentage.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ConversationLevelSilence.Builder mergeFrom(ConversationLevelSilence other)
public ConversationLevelSilence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ConversationLevelSilence.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
public final ConversationLevelSilence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ConversationLevelSilence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ConversationLevelSilence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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
|
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.
|
public final ConversationLevelSilence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides