Interface TrackOrBuilder (2.1.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
float

The confidence.

getSegment()

public abstract VideoSegment getSegment()

Video segment of a track.

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

Returns
TypeDescription
VideoSegment

The segment.

getSegmentOrBuilder()

public abstract VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment of a track.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the segment field is set.