Class Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder (2.21.0)

public static final class Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder extends GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder> implements Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder

Metadata from Dialogflow relating to the current transcript segment.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

build()

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata build()
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata

buildPartial()

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata buildPartial()
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata

clear()

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder clear()
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

clearSmartReplyAllowlistCovered()

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder clearSmartReplyAllowlistCovered()

Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.

bool smart_reply_allowlist_covered = 1;

Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder

This builder for chaining.

clone()

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder clone()
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

getDefaultInstanceForType()

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDefaultInstanceForType()
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSmartReplyAllowlistCovered()

public boolean getSmartReplyAllowlistCovered()

Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.

bool smart_reply_allowlist_covered = 1;

Returns
TypeDescription
boolean

The smartReplyAllowlistCovered.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata other)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder mergeFrom(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata other)
Parameter
NameDescription
otherConversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

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

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides

setSmartReplyAllowlistCovered(boolean value)

public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder setSmartReplyAllowlistCovered(boolean value)

Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.

bool smart_reply_allowlist_covered = 1;

Parameter
NameDescription
valueboolean

The smartReplyAllowlistCovered to set.

Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
Overrides