Class Conversation.Transcript.Builder (2.2.7) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.2.7keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  Methods
   
  
    
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 
  
  
    
public   Conversation . Transcript . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  
    
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 
  
  Returns 
  
  
    
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 
  
  Returns 
  
  
    
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 
  
  Returns 
  
  
    
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 
  
  Returns 
  
  
    
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 
  
  
    
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 
  
  
    
public   Conversation . Transcript   build ()  
  Returns 
  
  
    
public   Conversation . Transcript   buildPartial ()  
  Returns 
  
  
    
public   Conversation . Transcript . Builder   clear ()  
  Returns 
  
  Overrides 
  
  
    
public   Conversation . Transcript . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
public   Conversation . Transcript . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
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 
  
  
    
public   Conversation . Transcript . Builder   clone ()  
  Returns 
  
  Overrides 
  
  
    
public   Conversation . Transcript   getDefaultInstanceForType ()  
  Returns 
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  
    
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 
  
  
    
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 
  
  
    
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 
  
  
    
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 
  
  
    
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 
  
  
    
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 
  
  
    
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 > 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  
    
public   Conversation . Transcript . Builder   mergeFrom ( Conversation . Transcript   other )  
  Parameter 
  
  Returns 
  
  
    
public   Conversation . Transcript . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  
    
public   Conversation . Transcript . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
public   final   Conversation . Transcript . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  
    
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 
  
  
    
public   Conversation . Transcript . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  
    
public   Conversation . Transcript . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  
    
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 
  
  Returns 
  
  
    
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 
  
  Returns 
  
  
    
public   final   Conversation . Transcript . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]