public static final class TimestampedObject.Builder extends GeneratedMessageV3.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
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()
Returns
Methods
addAllAttributes(Iterable<? extends DetectedAttribute> values)
public TimestampedObject.Builder addAllAttributes(Iterable<? extends DetectedAttribute> values)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.DetectedAttribute>
|
Returns
addAllLandmarks(Iterable<? extends DetectedLandmark> values)
public TimestampedObject.Builder addAllLandmarks(Iterable<? extends DetectedLandmark> values)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.DetectedLandmark>
|
Returns
addAttributes(DetectedAttribute value)
public TimestampedObject.Builder addAttributes(DetectedAttribute value)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
addAttributes(DetectedAttribute.Builder builderForValue)
public TimestampedObject.Builder addAttributes(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];
Parameter
Returns
addAttributes(int index, DetectedAttribute value)
public TimestampedObject.Builder addAttributes(int index, DetectedAttribute value)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
addAttributes(int index, DetectedAttribute.Builder builderForValue)
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];
Parameters
Returns
addAttributesBuilder()
public DetectedAttribute.Builder addAttributesBuilder()
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
addAttributesBuilder(int index)
public DetectedAttribute.Builder addAttributesBuilder(int index)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
addLandmarks(DetectedLandmark value)
public TimestampedObject.Builder addLandmarks(DetectedLandmark value)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
addLandmarks(DetectedLandmark.Builder builderForValue)
public TimestampedObject.Builder addLandmarks(DetectedLandmark.Builder builderForValue)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
addLandmarks(int index, DetectedLandmark value)
public TimestampedObject.Builder addLandmarks(int index, DetectedLandmark value)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
addLandmarks(int index, DetectedLandmark.Builder builderForValue)
public TimestampedObject.Builder addLandmarks(int index, DetectedLandmark.Builder builderForValue)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
addLandmarksBuilder()
public DetectedLandmark.Builder addLandmarksBuilder()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
addLandmarksBuilder(int index)
public DetectedLandmark.Builder addLandmarksBuilder(int index)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampedObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimestampedObject build()
Returns
buildPartial()
public TimestampedObject buildPartial()
Returns
clear()
public TimestampedObject.Builder clear()
Returns
Overrides
clearAttributes()
public TimestampedObject.Builder clearAttributes()
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public TimestampedObject.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLandmarks()
public TimestampedObject.Builder clearLandmarks()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearNormalizedBoundingBox()
public TimestampedObject.Builder clearNormalizedBoundingBox()
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampedObject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTimeOffset()
public TimestampedObject.Builder clearTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2;
Returns
clone()
public TimestampedObject.Builder clone()
Returns
Overrides
getAttributes(int index)
public DetectedAttribute getAttributes(int index)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getAttributesBuilder(int index)
public DetectedAttribute.Builder getAttributesBuilder(int index)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getAttributesBuilderList()
public List<DetectedAttribute.Builder> getAttributesBuilderList()
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
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];
Returns
getAttributesList()
public List<DetectedAttribute> getAttributesList()
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getAttributesOrBuilder(int index)
public DetectedAttributeOrBuilder getAttributesOrBuilder(int index)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getAttributesOrBuilderList()
public List<? extends DetectedAttributeOrBuilder> getAttributesOrBuilderList()
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> | |
getDefaultInstanceForType()
public TimestampedObject getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLandmarks(int index)
public DetectedLandmark getLandmarks(int index)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getLandmarksBuilder(int index)
public DetectedLandmark.Builder getLandmarksBuilder(int index)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getLandmarksBuilderList()
public List<DetectedLandmark.Builder> getLandmarksBuilderList()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLandmarksCount()
public int getLandmarksCount()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLandmarksList()
public List<DetectedLandmark> getLandmarksList()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLandmarksOrBuilder(int index)
public DetectedLandmarkOrBuilder getLandmarksOrBuilder(int index)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getLandmarksOrBuilderList()
public List<? extends DetectedLandmarkOrBuilder> getLandmarksOrBuilderList()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> | |
getNormalizedBoundingBox()
public NormalizedBoundingBox getNormalizedBoundingBox()
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
getNormalizedBoundingBoxBuilder()
public NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
getNormalizedBoundingBoxOrBuilder()
public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
getTimeOffset()
public 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;
Returns
getTimeOffsetBuilder()
public 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;
Returns
getTimeOffsetOrBuilder()
public 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;
Returns
hasNormalizedBoundingBox()
public boolean hasNormalizedBoundingBox()
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Returns
Type | Description |
boolean | Whether the normalizedBoundingBox field is set.
|
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;
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(TimestampedObject other)
public TimestampedObject.Builder mergeFrom(TimestampedObject other)
Parameter
Returns
public TimestampedObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimestampedObject.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeNormalizedBoundingBox(NormalizedBoundingBox value)
public TimestampedObject.Builder mergeNormalizedBoundingBox(NormalizedBoundingBox value)
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Parameter
Returns
mergeTimeOffset(Duration value)
public TimestampedObject.Builder mergeTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampedObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAttributes(int index)
public TimestampedObject.Builder removeAttributes(int index)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
removeLandmarks(int index)
public TimestampedObject.Builder removeLandmarks(int index)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setAttributes(int index, DetectedAttribute value)
public TimestampedObject.Builder setAttributes(int index, DetectedAttribute value)
Optional. The attributes of the object in the bounding box.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
setAttributes(int index, DetectedAttribute.Builder builderForValue)
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];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampedObject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLandmarks(int index, DetectedLandmark value)
public TimestampedObject.Builder setLandmarks(int index, DetectedLandmark value)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
setLandmarks(int index, DetectedLandmark.Builder builderForValue)
public TimestampedObject.Builder setLandmarks(int index, DetectedLandmark.Builder builderForValue)
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
setNormalizedBoundingBox(NormalizedBoundingBox value)
public TimestampedObject.Builder setNormalizedBoundingBox(NormalizedBoundingBox value)
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
Parameter
Returns
setNormalizedBoundingBox(NormalizedBoundingBox.Builder builderForValue)
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampedObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimeOffset(Duration value)
public TimestampedObject.Builder setTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this object.
.google.protobuf.Duration time_offset = 2;
Parameter
Returns
setTimeOffset(Duration.Builder builderForValue)
public TimestampedObject.Builder setTimeOffset(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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampedObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides