Class Conversation.Transcript.Builder (2.51.0)

public static final class Conversation.Transcript.Builder extends GeneratedMessageV3.Builder<Conversation.Transcript.Builder> implements Conversation.TranscriptOrBuilder

A message representing the transcript of a conversation.

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

Static Methods

getDescriptor()

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

Methods

addAllTranscriptSegments(Iterable<? extends Conversation.Transcript.TranscriptSegment> values)

public Conversation.Transcript.Builder addAllTranscriptSegments(Iterable<? extends Conversation.Transcript.TranscriptSegment> values)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment>
Returns
Type Description
Conversation.Transcript.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTranscriptSegments(Conversation.Transcript.TranscriptSegment value)

public Conversation.Transcript.Builder addTranscriptSegments(Conversation.Transcript.TranscriptSegment value)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
value Conversation.Transcript.TranscriptSegment
Returns
Type Description
Conversation.Transcript.Builder

addTranscriptSegments(Conversation.Transcript.TranscriptSegment.Builder builderForValue)

public Conversation.Transcript.Builder addTranscriptSegments(Conversation.Transcript.TranscriptSegment.Builder builderForValue)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
builderForValue Conversation.Transcript.TranscriptSegment.Builder
Returns
Type Description
Conversation.Transcript.Builder

addTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment value)

public Conversation.Transcript.Builder addTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment value)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameters
Name Description
index int
value Conversation.Transcript.TranscriptSegment
Returns
Type Description
Conversation.Transcript.Builder

addTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment.Builder builderForValue)

public Conversation.Transcript.Builder addTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment.Builder builderForValue)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameters
Name Description
index int
builderForValue Conversation.Transcript.TranscriptSegment.Builder
Returns
Type Description
Conversation.Transcript.Builder

addTranscriptSegmentsBuilder()

public Conversation.Transcript.TranscriptSegment.Builder addTranscriptSegmentsBuilder()

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

addTranscriptSegmentsBuilder(int index)

public Conversation.Transcript.TranscriptSegment.Builder addTranscriptSegmentsBuilder(int index)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

build()

public Conversation.Transcript build()
Returns
Type Description
Conversation.Transcript

buildPartial()

public Conversation.Transcript buildPartial()
Returns
Type Description
Conversation.Transcript

clear()

public Conversation.Transcript.Builder clear()
Returns
Type Description
Conversation.Transcript.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTranscriptSegments()

public Conversation.Transcript.Builder clearTranscriptSegments()

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Returns
Type Description
Conversation.Transcript.Builder

clone()

public Conversation.Transcript.Builder clone()
Returns
Type Description
Conversation.Transcript.Builder
Overrides

getDefaultInstanceForType()

public Conversation.Transcript getDefaultInstanceForType()
Returns
Type Description
Conversation.Transcript

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTranscriptSegments(int index)

public Conversation.Transcript.TranscriptSegment getTranscriptSegments(int index)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
Conversation.Transcript.TranscriptSegment

getTranscriptSegmentsBuilder(int index)

public Conversation.Transcript.TranscriptSegment.Builder getTranscriptSegmentsBuilder(int index)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

getTranscriptSegmentsBuilderList()

public List<Conversation.Transcript.TranscriptSegment.Builder> getTranscriptSegmentsBuilderList()

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Returns
Type Description
List<Builder>

getTranscriptSegmentsCount()

public int getTranscriptSegmentsCount()

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Returns
Type Description
int

getTranscriptSegmentsList()

public List<Conversation.Transcript.TranscriptSegment> getTranscriptSegmentsList()

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Returns
Type Description
List<TranscriptSegment>

getTranscriptSegmentsOrBuilder(int index)

public Conversation.Transcript.TranscriptSegmentOrBuilder getTranscriptSegmentsOrBuilder(int index)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
Conversation.Transcript.TranscriptSegmentOrBuilder

getTranscriptSegmentsOrBuilderList()

public List<? extends Conversation.Transcript.TranscriptSegmentOrBuilder> getTranscriptSegmentsOrBuilderList()

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.Transcript other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTranscriptSegments(int index)

public Conversation.Transcript.Builder removeTranscriptSegments(int index)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
Conversation.Transcript.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment value)

public Conversation.Transcript.Builder setTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment value)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameters
Name Description
index int
value Conversation.Transcript.TranscriptSegment
Returns
Type Description
Conversation.Transcript.Builder

setTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment.Builder builderForValue)

public Conversation.Transcript.Builder setTranscriptSegments(int index, Conversation.Transcript.TranscriptSegment.Builder builderForValue)

A list of sequential transcript segments that comprise the conversation.

repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;

Parameters
Name Description
index int
builderForValue Conversation.Transcript.TranscriptSegment.Builder
Returns
Type Description
Conversation.Transcript.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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