Class Conversation.Transcript.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Conversation.Transcript.Builder>
com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder
All Implemented Interfaces:
Conversation.TranscriptOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Conversation.Transcript

public static final class Conversation.Transcript.Builder extends com.google.protobuf.GeneratedMessage.Builder<Conversation.Transcript.Builder> implements Conversation.TranscriptOrBuilder
 A message representing the transcript of a conversation.
 
Protobuf type google.cloud.contactcenterinsights.v1.Conversation.Transcript
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Transcript.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Transcript.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Transcript.Builder>
    • getDefaultInstanceForType

      public Conversation.Transcript getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Conversation.Transcript build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Conversation.Transcript buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Conversation.Transcript.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.Transcript.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Transcript.Builder>
    • mergeFrom

      public Conversation.Transcript.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.Transcript.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getTranscriptSegmentsList in interface Conversation.TranscriptOrBuilder
    • 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;
      Specified by:
      getTranscriptSegmentsCount in interface Conversation.TranscriptOrBuilder
    • getTranscriptSegments

      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;
      Specified by:
      getTranscriptSegments in interface Conversation.TranscriptOrBuilder
    • setTranscriptSegments

      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;
    • setTranscriptSegments

      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;
    • addTranscriptSegments

       A list of sequential transcript segments that comprise the conversation.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;
    • addTranscriptSegments

      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;
    • addTranscriptSegments

       A list of sequential transcript segments that comprise the conversation.
       
      repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1;
    • addTranscriptSegments

      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;
    • addAllTranscriptSegments

      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;
    • 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;
    • removeTranscriptSegments

      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;
    • getTranscriptSegmentsBuilder

      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;
    • getTranscriptSegmentsOrBuilder

      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;
      Specified by:
      getTranscriptSegmentsOrBuilder in interface Conversation.TranscriptOrBuilder
    • 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;
      Specified by:
      getTranscriptSegmentsOrBuilderList in interface Conversation.TranscriptOrBuilder
    • 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;
    • addTranscriptSegmentsBuilder

      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;
    • 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;