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.v1p3beta1.ObjectTrackingFrame
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ObjectTrackingFrame build()
buildPartial()
public ObjectTrackingFrame buildPartial()
clear()
public ObjectTrackingFrame.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectTrackingFrame.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedBoundingBox()
public ObjectTrackingFrame.Builder clearNormalizedBoundingBox()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectTrackingFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTimeOffset()
public ObjectTrackingFrame.Builder clearTimeOffset()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
clone()
public ObjectTrackingFrame.Builder clone()
Overrides
getDefaultInstanceForType()
public ObjectTrackingFrame getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNormalizedBoundingBox()
public NormalizedBoundingBox getNormalizedBoundingBox()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
getNormalizedBoundingBoxBuilder()
public NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
getNormalizedBoundingBoxOrBuilder()
public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
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;
getTimeOffsetOrBuilder()
public DurationOrBuilder getTimeOffsetOrBuilder()
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
hasNormalizedBoundingBox()
public boolean hasNormalizedBoundingBox()
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1p3beta1.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ObjectTrackingFrame other)
public ObjectTrackingFrame.Builder mergeFrom(ObjectTrackingFrame other)
public ObjectTrackingFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ObjectTrackingFrame.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
mergeTimeOffset(Duration value)
public ObjectTrackingFrame.Builder mergeTimeOffset(Duration value)
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
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.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectTrackingFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTimeOffset(Duration value)
public ObjectTrackingFrame.Builder setTimeOffset(Duration value)
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides