Class Conversation.Transcript.Builder (2.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment>
Returns
TypeDescription
Conversation.Transcript.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Transcript.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueConversation.Transcript.TranscriptSegment
Returns
TypeDescription
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
NameDescription
builderForValueConversation.Transcript.TranscriptSegment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConversation.Transcript.TranscriptSegment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversation.Transcript.TranscriptSegment.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Conversation.Transcript.TranscriptSegment.Builder

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Transcript.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Conversation.Transcript.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegmentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Conversation.Transcript other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Transcript.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Conversation.Transcript.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Transcript.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueConversation.Transcript.TranscriptSegment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversation.Transcript.TranscriptSegment.Builder
Returns
TypeDescription
Conversation.Transcript.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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