public interface SegmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getEndIndex()
Output only.
|
int |
getPartIndex()
Output only.
|
int |
getStartIndex()
Output only.
|
String |
getText()
Output only.
|
com.google.protobuf.ByteString |
getTextBytes()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getPartIndex()
Output only. The index of a Part object within its parent Content object.
int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];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];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];String getText()
Output only. The text corresponding to the segment from the response.
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];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];Copyright © 2024 Google LLC. All rights reserved.