public static final class ObjectTrackingFrame.Builder extends GeneratedMessage.Builder<ObjectTrackingFrame.Builder> implements ObjectTrackingFrameOrBuilderVideo 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ObjectTrackingFrame.BuilderImplements
ObjectTrackingFrameOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ObjectTrackingFrame build()| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame |
|
buildPartial()
public ObjectTrackingFrame buildPartial()| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame |
|
clear()
public ObjectTrackingFrame.Builder clear()| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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 | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
clearTimeOffset()
public ObjectTrackingFrame.Builder clearTimeOffset()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
getDefaultInstanceForType()
public ObjectTrackingFrame getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
NormalizedBoundingBox |
The normalizedBoundingBox. |
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 | |
|---|---|
| Type | Description |
NormalizedBoundingBox.Builder |
|
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 | |
|---|---|
| Type | Description |
NormalizedBoundingBoxOrBuilder |
|
getTimeOffset()
public Duration getTimeOffset()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The timeOffset. |
getTimeOffsetBuilder()
public Duration.Builder getTimeOffsetBuilder()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTimeOffsetOrBuilder()
public DurationOrBuilder getTimeOffsetOrBuilder()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ObjectTrackingFrame other)
public ObjectTrackingFrame.Builder mergeFrom(ObjectTrackingFrame other)| Parameter | |
|---|---|
| Name | Description |
other |
ObjectTrackingFrame |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObjectTrackingFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ObjectTrackingFrame.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
NormalizedBoundingBox |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
mergeTimeOffset(Duration value)
public ObjectTrackingFrame.Builder mergeTimeOffset(Duration value)The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
NormalizedBoundingBox |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
NormalizedBoundingBox.Builder |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
setTimeOffset(Duration value)
public ObjectTrackingFrame.Builder setTimeOffset(Duration value)The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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 | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|