Class AnnotationBoundary (2.7.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.7.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  AnnotationBoundary   extends   GeneratedMessageV3   implements   AnnotationBoundaryOrBuilder  
   
   A point in a conversation that marks the start or the end of an annotation.
 Protobuf type google.cloud.contactcenterinsights.v1.AnnotationBoundary
 
  
  
  
  Static Fields
   
  
  
    
public   static   final   int   TRANSCRIPT_INDEX_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   WORD_INDEX_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  
  
    
public   static   AnnotationBoundary   getDefaultInstance ()  
   
  Returns 
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  
  
    
public   static   AnnotationBoundary . Builder   newBuilder ()  
   
  Returns 
  
   
  
  
    
public   static   AnnotationBoundary . Builder   newBuilder ( AnnotationBoundary   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   AnnotationBoundary   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   AnnotationBoundary   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   Parser<AnnotationBoundary>   parser ()  
   
  Returns 
  
  Methods
   
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   AnnotationBoundary   getDefaultInstanceForType ()  
   
  Returns 
  
   
  
  
    
public   AnnotationBoundary . DetailedBoundaryCase   getDetailedBoundaryCase ()  
   
  Returns 
  
   
  
  
    
public   Parser<AnnotationBoundary>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   int   getTranscriptIndex ()  
   
   The index in the sequence of transcribed pieces of the conversation where
 the boundary is located. This index starts at zero.
 int32 transcript_index = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The transcriptIndex.
 
       
     
  
   
  
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   int   getWordIndex ()  
   
   The word index of this boundary with respect to the first word in the
 transcript piece. This index starts at zero.
 int32 word_index = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The wordIndex.
 
       
     
  
   
  
  
    
public   boolean   hasWordIndex ()  
   
   The word index of this boundary with respect to the first word in the
 transcript piece. This index starts at zero.
 int32 word_index = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the wordIndex field is set.
 
       
     
  
   
  
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   AnnotationBoundary . Builder   newBuilderForType ()  
   
  Returns 
  
   
  
  
    
protected   AnnotationBoundary . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   AnnotationBoundary . Builder   toBuilder ()  
   
  Returns 
  
   
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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-30 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-30 UTC."],[],[]]