Interface TrackOrBuilder (2.42.0)

public interface TrackOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributes(int index)

public abstract DetectedAttribute getAttributes(int index)

Optional. Attributes in the track level.

repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DetectedAttribute

getAttributesCount()

public abstract int getAttributesCount()

Optional. Attributes in the track level.

repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAttributesList()

public abstract List<DetectedAttribute> getAttributesList()

Optional. Attributes in the track level.

repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<DetectedAttribute>

getAttributesOrBuilder(int index)

public abstract DetectedAttributeOrBuilder getAttributesOrBuilder(int index)

Optional. Attributes in the track level.

repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DetectedAttributeOrBuilder

getAttributesOrBuilderList()

public abstract List<? extends DetectedAttributeOrBuilder> getAttributesOrBuilderList()

Optional. Attributes in the track level.

repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>

getConfidence()

public abstract float getConfidence()

Optional. The confidence score of the tracked object.

float confidence = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The confidence.

getSegment()

public abstract VideoSegment getSegment()

Video segment of a track.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
VideoSegment

The segment.

getSegmentOrBuilder()

public abstract VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment of a track.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
VideoSegmentOrBuilder

getTimestampedObjects(int index)

public abstract TimestampedObject getTimestampedObjects(int index)

The object with timestamp and attributes per frame in the track.

repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;

Parameter
Name Description
index int
Returns
Type Description
TimestampedObject

getTimestampedObjectsCount()

public abstract int getTimestampedObjectsCount()

The object with timestamp and attributes per frame in the track.

repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;

Returns
Type Description
int

getTimestampedObjectsList()

public abstract List<TimestampedObject> getTimestampedObjectsList()

The object with timestamp and attributes per frame in the track.

repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;

Returns
Type Description
List<TimestampedObject>

getTimestampedObjectsOrBuilder(int index)

public abstract TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder(int index)

The object with timestamp and attributes per frame in the track.

repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;

Parameter
Name Description
index int
Returns
Type Description
TimestampedObjectOrBuilder

getTimestampedObjectsOrBuilderList()

public abstract List<? extends TimestampedObjectOrBuilder> getTimestampedObjectsOrBuilderList()

The object with timestamp and attributes per frame in the track.

repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder>

hasSegment()

public abstract boolean hasSegment()

Video segment of a track.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
boolean

Whether the segment field is set.