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