Class TimestampedObject.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TimestampedObject.Builder>
com.google.cloud.videointelligence.v1.TimestampedObject.Builder
- All Implemented Interfaces:
TimestampedObjectOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TimestampedObject
public static final class TimestampedObject.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TimestampedObject.Builder>
implements TimestampedObjectOrBuilder
For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.Protobuf type
google.cloud.videointelligence.v1.TimestampedObject-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttributes(Iterable<? extends DetectedAttribute> values) Optional.addAllLandmarks(Iterable<? extends DetectedLandmark> values) Optional.addAttributes(int index, DetectedAttribute value) Optional.addAttributes(int index, DetectedAttribute.Builder builderForValue) Optional.addAttributes(DetectedAttribute value) Optional.addAttributes(DetectedAttribute.Builder builderForValue) Optional.Optional.addAttributesBuilder(int index) Optional.addLandmarks(int index, DetectedLandmark value) Optional.addLandmarks(int index, DetectedLandmark.Builder builderForValue) Optional.addLandmarks(DetectedLandmark value) Optional.addLandmarks(DetectedLandmark.Builder builderForValue) Optional.Optional.addLandmarksBuilder(int index) Optional.build()clear()Optional.Optional.Normalized Bounding box in a frame, where the object is located.Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.getAttributes(int index) Optional.getAttributesBuilder(int index) Optional.Optional.intOptional.Optional.getAttributesOrBuilder(int index) Optional.List<? extends DetectedAttributeOrBuilder>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLandmarks(int index) Optional.getLandmarksBuilder(int index) Optional.Optional.intOptional.Optional.getLandmarksOrBuilder(int index) Optional.List<? extends DetectedLandmarkOrBuilder>Optional.Normalized Bounding box in a frame, where the object is located.Normalized Bounding box in a frame, where the object is located.Normalized Bounding box in a frame, where the object is located.com.google.protobuf.DurationTime-offset, relative to the beginning of the video, corresponding to the video frame for this object.com.google.protobuf.Duration.BuilderTime-offset, relative to the beginning of the video, corresponding to the video frame for this object.com.google.protobuf.DurationOrBuilderTime-offset, relative to the beginning of the video, corresponding to the video frame for this object.booleanNormalized Bounding box in a frame, where the object is located.booleanTime-offset, relative to the beginning of the video, corresponding to the video frame for this object.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TimestampedObject other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Normalized Bounding box in a frame, where the object is located.mergeTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.removeAttributes(int index) Optional.removeLandmarks(int index) Optional.setAttributes(int index, DetectedAttribute value) Optional.setAttributes(int index, DetectedAttribute.Builder builderForValue) Optional.setLandmarks(int index, DetectedLandmark value) Optional.setLandmarks(int index, DetectedLandmark.Builder builderForValue) Optional.Normalized Bounding box in a frame, where the object is located.setNormalizedBoundingBox(NormalizedBoundingBox.Builder builderForValue) Normalized Bounding box in a frame, where the object is located.setTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.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<TimestampedObject.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<TimestampedObject.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<TimestampedObject.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<TimestampedObject.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TimestampedObject.Builder>
-
mergeFrom
public TimestampedObject.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<TimestampedObject.Builder>- Throws:
IOException
-
hasNormalizedBoundingBox
public boolean hasNormalizedBoundingBox()Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;- Specified by:
hasNormalizedBoundingBoxin interfaceTimestampedObjectOrBuilder- Returns:
- Whether the normalizedBoundingBox field is set.
-
getNormalizedBoundingBox
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;- Specified by:
getNormalizedBoundingBoxin interfaceTimestampedObjectOrBuilder- Returns:
- The normalizedBoundingBox.
-
setNormalizedBoundingBox
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
setNormalizedBoundingBox
public TimestampedObject.Builder setNormalizedBoundingBox(NormalizedBoundingBox.Builder builderForValue) Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
mergeNormalizedBoundingBox
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
clearNormalizedBoundingBox
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
getNormalizedBoundingBoxBuilder
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; -
getNormalizedBoundingBoxOrBuilder
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;- Specified by:
getNormalizedBoundingBoxOrBuilderin interfaceTimestampedObjectOrBuilder
-
hasTimeOffset
public boolean hasTimeOffset()Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2;- Specified by:
hasTimeOffsetin interfaceTimestampedObjectOrBuilder- Returns:
- Whether the timeOffset field is set.
-
getTimeOffset
public com.google.protobuf.Duration getTimeOffset()Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2;- Specified by:
getTimeOffsetin interfaceTimestampedObjectOrBuilder- Returns:
- The timeOffset.
-
setTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2; -
setTimeOffset
public TimestampedObject.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2; -
mergeTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2; -
clearTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2; -
getTimeOffsetBuilder
public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2; -
getTimeOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2;- Specified by:
getTimeOffsetOrBuilderin interfaceTimestampedObjectOrBuilder
-
getAttributesList
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesListin interfaceTimestampedObjectOrBuilder
-
getAttributesCount
public int getAttributesCount()Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesCountin interfaceTimestampedObjectOrBuilder
-
getAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesin interfaceTimestampedObjectOrBuilder
-
setAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setAttributes
public TimestampedObject.Builder setAttributes(int index, DetectedAttribute.Builder builderForValue) Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAttributes
public TimestampedObject.Builder addAttributes(int index, DetectedAttribute.Builder builderForValue) Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAllAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
removeAttributes
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAttributesBuilder
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAttributesOrBuilder
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesOrBuilderin interfaceTimestampedObjectOrBuilder
-
getAttributesOrBuilderList
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesOrBuilderListin interfaceTimestampedObjectOrBuilder
-
addAttributesBuilder
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAttributesBuilder
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAttributesBuilderList
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getLandmarksList
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLandmarksListin interfaceTimestampedObjectOrBuilder
-
getLandmarksCount
public int getLandmarksCount()Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLandmarksCountin interfaceTimestampedObjectOrBuilder
-
getLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLandmarksin interfaceTimestampedObjectOrBuilder
-
setLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addAllLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
removeLandmarks
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLandmarksBuilder
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLandmarksOrBuilder
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLandmarksOrBuilderin interfaceTimestampedObjectOrBuilder
-
getLandmarksOrBuilderList
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLandmarksOrBuilderListin interfaceTimestampedObjectOrBuilder
-
addLandmarksBuilder
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addLandmarksBuilder
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLandmarksBuilderList
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
-