Class ObjectTrackingFrame.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ObjectTrackingFrame.Builder>
com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder
- All Implemented Interfaces:
ObjectTrackingFrameOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ObjectTrackingFrame
public static final class ObjectTrackingFrame.Builder
extends com.google.protobuf.GeneratedMessage.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.v1.ObjectTrackingFrame-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The normalized bounding box location of this object track for the frame.The timestamp of the frame in microseconds.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe normalized bounding box location of this object track for the frame.The normalized bounding box location of this object track for the frame.The normalized bounding box location of this object track for the frame.com.google.protobuf.DurationThe timestamp of the frame in microseconds.com.google.protobuf.Duration.BuilderThe timestamp of the frame in microseconds.com.google.protobuf.DurationOrBuilderThe timestamp of the frame in microseconds.booleanThe normalized bounding box location of this object track for the frame.booleanThe timestamp of the frame in microseconds.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ObjectTrackingFrame other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The normalized bounding box location of this object track for the frame.mergeTimeOffset(com.google.protobuf.Duration value) The timestamp of the frame in microseconds.The normalized bounding box location of this object track for the frame.setNormalizedBoundingBox(NormalizedBoundingBox.Builder builderForValue) The normalized bounding box location of this object track for the frame.setTimeOffset(com.google.protobuf.Duration value) The timestamp of the frame in microseconds.setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) The timestamp of the frame in microseconds.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ObjectTrackingFrame.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ObjectTrackingFrame.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ObjectTrackingFrame.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ObjectTrackingFrame.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ObjectTrackingFrame.Builder>
-
mergeFrom
public ObjectTrackingFrame.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ObjectTrackingFrame.Builder>- Throws:
IOException
-
hasNormalizedBoundingBox
public boolean hasNormalizedBoundingBox()The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;- Specified by:
hasNormalizedBoundingBoxin interfaceObjectTrackingFrameOrBuilder- Returns:
- Whether the normalizedBoundingBox field is set.
-
getNormalizedBoundingBox
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;- Specified by:
getNormalizedBoundingBoxin interfaceObjectTrackingFrameOrBuilder- Returns:
- The normalizedBoundingBox.
-
setNormalizedBoundingBox
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
setNormalizedBoundingBox
public ObjectTrackingFrame.Builder setNormalizedBoundingBox(NormalizedBoundingBox.Builder builderForValue) The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
mergeNormalizedBoundingBox
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
clearNormalizedBoundingBox
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
getNormalizedBoundingBoxBuilder
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
getNormalizedBoundingBoxOrBuilder
The normalized bounding box location of this object track for the frame.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;- Specified by:
getNormalizedBoundingBoxOrBuilderin interfaceObjectTrackingFrameOrBuilder
-
hasTimeOffset
public boolean hasTimeOffset()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;- Specified by:
hasTimeOffsetin interfaceObjectTrackingFrameOrBuilder- Returns:
- Whether the timeOffset field is set.
-
getTimeOffset
public com.google.protobuf.Duration getTimeOffset()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;- Specified by:
getTimeOffsetin interfaceObjectTrackingFrameOrBuilder- Returns:
- The timeOffset.
-
setTimeOffset
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2; -
setTimeOffset
public ObjectTrackingFrame.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2; -
mergeTimeOffset
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2; -
clearTimeOffset
The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2; -
getTimeOffsetBuilder
public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2; -
getTimeOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()The timestamp of the frame in microseconds.
.google.protobuf.Duration time_offset = 2;- Specified by:
getTimeOffsetOrBuilderin interfaceObjectTrackingFrameOrBuilder
-