Class VideoObjectTrackingPredictionResult.Builder (0.10.0)

public static final class VideoObjectTrackingPredictionResult.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingPredictionResult.Builder> implements VideoObjectTrackingPredictionResultOrBuilder

Prediction output format for Video Object Tracking.

Protobuf type google.cloud.visionai.v1.VideoObjectTrackingPredictionResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllObjects(Iterable<? extends VideoObjectTrackingPredictionResult.DetectedObject> values)

public VideoObjectTrackingPredictionResult.Builder addAllObjects(Iterable<? extends VideoObjectTrackingPredictionResult.DetectedObject> values)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject>
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

addObjects(VideoObjectTrackingPredictionResult.DetectedObject value)

public VideoObjectTrackingPredictionResult.Builder addObjects(VideoObjectTrackingPredictionResult.DetectedObject value)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
value VideoObjectTrackingPredictionResult.DetectedObject
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

addObjects(VideoObjectTrackingPredictionResult.DetectedObject.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder addObjects(VideoObjectTrackingPredictionResult.DetectedObject.Builder builderForValue)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
builderForValue VideoObjectTrackingPredictionResult.DetectedObject.Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

addObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject value)

public VideoObjectTrackingPredictionResult.Builder addObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject value)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameters
Name Description
index int
value VideoObjectTrackingPredictionResult.DetectedObject
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

addObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder addObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject.Builder builderForValue)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameters
Name Description
index int
builderForValue VideoObjectTrackingPredictionResult.DetectedObject.Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

addObjectsBuilder()

public VideoObjectTrackingPredictionResult.DetectedObject.Builder addObjectsBuilder()

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Returns
Type Description
VideoObjectTrackingPredictionResult.DetectedObject.Builder

addObjectsBuilder(int index)

public VideoObjectTrackingPredictionResult.DetectedObject.Builder addObjectsBuilder(int index)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoObjectTrackingPredictionResult.DetectedObject.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

build()

public VideoObjectTrackingPredictionResult build()
Returns
Type Description
VideoObjectTrackingPredictionResult

buildPartial()

public VideoObjectTrackingPredictionResult buildPartial()
Returns
Type Description
VideoObjectTrackingPredictionResult

clear()

public VideoObjectTrackingPredictionResult.Builder clear()
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoObjectTrackingPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

clearObjects()

public VideoObjectTrackingPredictionResult.Builder clearObjects()

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

clearSegmentEndTime()

public VideoObjectTrackingPredictionResult.Builder clearSegmentEndTime()

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

clearSegmentStartTime()

public VideoObjectTrackingPredictionResult.Builder clearSegmentStartTime()

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

clone()

public VideoObjectTrackingPredictionResult.Builder clone()
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

getDefaultInstanceForType()

public VideoObjectTrackingPredictionResult getDefaultInstanceForType()
Returns
Type Description
VideoObjectTrackingPredictionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getObjects(int index)

public VideoObjectTrackingPredictionResult.DetectedObject getObjects(int index)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoObjectTrackingPredictionResult.DetectedObject

getObjectsBuilder(int index)

public VideoObjectTrackingPredictionResult.DetectedObject.Builder getObjectsBuilder(int index)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoObjectTrackingPredictionResult.DetectedObject.Builder

getObjectsBuilderList()

public List<VideoObjectTrackingPredictionResult.DetectedObject.Builder> getObjectsBuilderList()

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Returns
Type Description
List<Builder>

getObjectsCount()

public int getObjectsCount()

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Returns
Type Description
int

getObjectsList()

public List<VideoObjectTrackingPredictionResult.DetectedObject> getObjectsList()

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Returns
Type Description
List<DetectedObject>

getObjectsOrBuilder(int index)

public VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder getObjectsOrBuilder(int index)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder

getObjectsOrBuilderList()

public List<? extends VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder> getObjectsOrBuilderList()

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder>

getSegmentEndTime()

public Timestamp getSegmentEndTime()

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Returns
Type Description
Timestamp

The segmentEndTime.

getSegmentEndTimeBuilder()

public Timestamp.Builder getSegmentEndTimeBuilder()

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Returns
Type Description
Builder

getSegmentEndTimeOrBuilder()

public TimestampOrBuilder getSegmentEndTimeOrBuilder()

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Returns
Type Description
TimestampOrBuilder

getSegmentStartTime()

public Timestamp getSegmentStartTime()

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
Timestamp

The segmentStartTime.

getSegmentStartTimeBuilder()

public Timestamp.Builder getSegmentStartTimeBuilder()

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
Builder

getSegmentStartTimeOrBuilder()

public TimestampOrBuilder getSegmentStartTimeOrBuilder()

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasSegmentEndTime()

public boolean hasSegmentEndTime()

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Returns
Type Description
boolean

Whether the segmentEndTime field is set.

hasSegmentStartTime()

public boolean hasSegmentStartTime()

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
boolean

Whether the segmentStartTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoObjectTrackingPredictionResult other)

public VideoObjectTrackingPredictionResult.Builder mergeFrom(VideoObjectTrackingPredictionResult other)
Parameter
Name Description
other VideoObjectTrackingPredictionResult
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoObjectTrackingPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoObjectTrackingPredictionResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

mergeSegmentEndTime(Timestamp value)

public VideoObjectTrackingPredictionResult.Builder mergeSegmentEndTime(Timestamp value)

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

mergeSegmentStartTime(Timestamp value)

public VideoObjectTrackingPredictionResult.Builder mergeSegmentStartTime(Timestamp value)

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

removeObjects(int index)

public VideoObjectTrackingPredictionResult.Builder removeObjects(int index)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

setObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject value)

public VideoObjectTrackingPredictionResult.Builder setObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject value)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameters
Name Description
index int
value VideoObjectTrackingPredictionResult.DetectedObject
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setObjects(int index, VideoObjectTrackingPredictionResult.DetectedObject.Builder builderForValue)

All of the objects detected in the specified time range.

repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;

Parameters
Name Description
index int
builderForValue VideoObjectTrackingPredictionResult.DetectedObject.Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoObjectTrackingPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides

setSegmentEndTime(Timestamp value)

public VideoObjectTrackingPredictionResult.Builder setSegmentEndTime(Timestamp value)

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setSegmentEndTime(Timestamp.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setSegmentEndTime(Timestamp.Builder builderForValue)

The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setSegmentStartTime(Timestamp value)

public VideoObjectTrackingPredictionResult.Builder setSegmentStartTime(Timestamp value)

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setSegmentStartTime(Timestamp.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setSegmentStartTime(Timestamp.Builder builderForValue)

The beginning, inclusive, of the video's time segment in which the current identifications happens.

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoObjectTrackingPredictionResult.Builder
Overrides