Interface TextAnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TextAnnotation, TextAnnotation.Builder

@Generated public interface TextAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getSegments(int index)
    All video segments where OCR detected text appears.
    int
    All video segments where OCR detected text appears.
    All video segments where OCR detected text appears.
    All video segments where OCR detected text appears.
    All video segments where OCR detected text appears.
    The detected text.
    com.google.protobuf.ByteString
    The detected text.
    Feature version.
    com.google.protobuf.ByteString
    Feature version.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getText

      String getText()
       The detected text.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       The detected text.
       
      string text = 1;
      Returns:
      The bytes for text.
    • getSegmentsList

      List<TextSegment> getSegmentsList()
       All video segments where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextSegment segments = 2;
    • getSegments

      TextSegment getSegments(int index)
       All video segments where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextSegment segments = 2;
    • getSegmentsCount

      int getSegmentsCount()
       All video segments where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextSegment segments = 2;
    • getSegmentsOrBuilderList

      List<? extends TextSegmentOrBuilder> getSegmentsOrBuilderList()
       All video segments where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextSegment segments = 2;
    • getSegmentsOrBuilder

      TextSegmentOrBuilder getSegmentsOrBuilder(int index)
       All video segments where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextSegment segments = 2;
    • getVersion

      String getVersion()
       Feature version.
       
      string version = 3;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Feature version.
       
      string version = 3;
      Returns:
      The bytes for version.