Class VideoObjectTrackingPredictionResult.Builder (0.11.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

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;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoObjectTrackingPredictionResult build()
Returns
Type Description
VideoObjectTrackingPredictionResult

buildPartial()

public VideoObjectTrackingPredictionResult buildPartial()
Returns
Type Description
VideoObjectTrackingPredictionResult

clear()

public VideoObjectTrackingPredictionResult.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoObjectTrackingPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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;

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

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;

clone()

public VideoObjectTrackingPredictionResult.Builder clone()
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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VideoObjectTrackingPredictionResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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
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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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