Cloud AI Platform v1 API - Class Segment (2.28.0)

public sealed class Segment : IMessage<Segment>, IEquatable<Segment>, IDeepCloneable<Segment>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class Segment.

Segment of the content.

Inheritance

object > Segment

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Segment()

public Segment()

Segment(Segment)

public Segment(Segment other)
Parameter
Name Description
other Segment

Properties

EndIndex

public int EndIndex { get; set; }

Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.

Property Value
Type Description
int

PartIndex

public int PartIndex { get; set; }

Output only. The index of a Part object within its parent Content object.

Property Value
Type Description
int

StartIndex

public int StartIndex { get; set; }

Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.

Property Value
Type Description
int