Interface SegmentOrBuilder (3.41.0)

public interface SegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndIndex()

public abstract 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
TypeDescription
int

The endIndex.

getPartIndex()

public abstract 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
TypeDescription
int

The partIndex.

getStartIndex()

public abstract 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
TypeDescription
int

The startIndex.