Interface SegmentOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    Output only.
    int
    Output only.
    int
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.

    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

    • getPartIndex

      int getPartIndex()
       Output only. The index of a Part object within its parent Content object.
       
      int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The partIndex.
    • getStartIndex

      int getStartIndex()
       Output only. Start index in the given Part, measured in bytes. Offset from
       the start of the Part, inclusive, starting at zero.
       
      int32 start_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The startIndex.
    • getEndIndex

      int getEndIndex()
       Output only. End index in the given Part, measured in bytes. Offset from
       the start of the Part, exclusive, starting at zero.
       
      int32 end_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The endIndex.
    • getText

      String getText()
       Output only. The text corresponding to the segment from the response.
       
      string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Output only. The text corresponding to the segment from the response.
       
      string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for text.