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()
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>
|
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>
|
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
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];
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];
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];
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];
addLandmarksBuilder()
public DetectedLandmark.Builder addLandmarksBuilder()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampedObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TimestampedObject build()
buildPartial()
public TimestampedObject buildPartial()
clear()
public TimestampedObject.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public TimestampedObject.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLandmarks()
public TimestampedObject.Builder clearLandmarks()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampedObject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public TimestampedObject.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getLandmarksBuilderList()
public List<DetectedLandmark.Builder> getLandmarksBuilderList()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
getLandmarksCount()
public int getLandmarksCount()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | |
getLandmarksList()
public List<DetectedLandmark> getLandmarksList()
Optional. The detected landmarks.
repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];
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 |
---|
Name | Description |
index | int
|
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;
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;
getNormalizedBoundingBoxOrBuilder()
public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()
Normalized Bounding box in a frame, where the object is located.
.google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1;
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 |
---|
Type | Description |
Duration | The timeOffset.
|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TimestampedObject other)
public TimestampedObject.Builder mergeFrom(TimestampedObject other)
public TimestampedObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimestampedObject.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampedObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampedObject.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampedObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampedObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides