Send feedback
Class ObjectTrackingFrame.Builder (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public static final class ObjectTrackingFrame . Builder extends GeneratedMessageV3 . Builder<ObjectTrackingFrame . Builder > implements ObjectTrackingFrameOrBuilder
Video frame level annotations for object detection and tracking. This field
stores per frame location, time offset, and confidence.
Protobuf type google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingFrame . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ObjectTrackingFrame build ()
Returns
buildPartial()
public ObjectTrackingFrame buildPartial ()
Returns
clear()
public ObjectTrackingFrame . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectTrackingFrame . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNormalizedBoundingBox()
public ObjectTrackingFrame . Builder clearNormalizedBoundingBox ()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectTrackingFrame . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearTimeOffset()
public ObjectTrackingFrame . Builder clearTimeOffset ()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Returns
clone()
public ObjectTrackingFrame . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ObjectTrackingFrame getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getNormalizedBoundingBox()
public NormalizedBoundingBox getNormalizedBoundingBox ()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
getNormalizedBoundingBoxBuilder()
public NormalizedBoundingBox . Builder getNormalizedBoundingBoxBuilder ()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
getNormalizedBoundingBoxOrBuilder()
public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder ()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
getTimeOffset()
public Duration getTimeOffset ()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Returns
getTimeOffsetBuilder()
public Duration . Builder getTimeOffsetBuilder ()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Returns
getTimeOffsetOrBuilder()
public DurationOrBuilder getTimeOffsetOrBuilder ()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Returns
hasNormalizedBoundingBox()
public boolean hasNormalizedBoundingBox ()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
Type Description boolean Whether the normalizedBoundingBox field is set.
hasTimeOffset()
public boolean hasTimeOffset ()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Returns
Type Description boolean Whether the timeOffset field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ObjectTrackingFrame other)
public ObjectTrackingFrame . Builder mergeFrom ( ObjectTrackingFrame other )
Parameter
Returns
public ObjectTrackingFrame . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ObjectTrackingFrame . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeNormalizedBoundingBox(NormalizedBoundingBox value)
public ObjectTrackingFrame . Builder mergeNormalizedBoundingBox ( NormalizedBoundingBox value )
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Parameter
Returns
mergeTimeOffset(Duration value)
public ObjectTrackingFrame . Builder mergeTimeOffset ( Duration value )
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingFrame . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingFrame . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setNormalizedBoundingBox(NormalizedBoundingBox value)
public ObjectTrackingFrame . Builder setNormalizedBoundingBox ( NormalizedBoundingBox value )
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Parameter
Returns
setNormalizedBoundingBox(NormalizedBoundingBox.Builder builderForValue)
public ObjectTrackingFrame . Builder setNormalizedBoundingBox ( NormalizedBoundingBox . Builder builderForValue )
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectTrackingFrame . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTimeOffset(Duration value)
public ObjectTrackingFrame . Builder setTimeOffset ( Duration value )
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Parameter
Returns
setTimeOffset(Duration.Builder builderForValue)
public ObjectTrackingFrame . Builder setTimeOffset ( Duration . Builder builderForValue )
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
Parameter
Name Description builderForValue Builder
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingFrame . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]