Class TimestampedObject.Builder (2.22.0)

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.v1p3beta1.TimestampedObject

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute>
Returns
TypeDescription
TimestampedObject.Builder

addAllLandmarks(Iterable<? extends DetectedLandmark> values)

public TimestampedObject.Builder addAllLandmarks(Iterable<? extends DetectedLandmark> values)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark>
Returns
TypeDescription
TimestampedObject.Builder

addAttributes(DetectedAttribute value)

public TimestampedObject.Builder addAttributes(DetectedAttribute value)

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDetectedAttribute
Returns
TypeDescription
TimestampedObject.Builder

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.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueDetectedAttribute.Builder
Returns
TypeDescription
TimestampedObject.Builder

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.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueDetectedAttribute
Returns
TypeDescription
TimestampedObject.Builder

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.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueDetectedAttribute.Builder
Returns
TypeDescription
TimestampedObject.Builder

addAttributesBuilder()

public DetectedAttribute.Builder addAttributesBuilder()

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DetectedAttribute.Builder

addAttributesBuilder(int index)

public DetectedAttribute.Builder addAttributesBuilder(int index)

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedAttribute.Builder

addLandmarks(DetectedLandmark value)

public TimestampedObject.Builder addLandmarks(DetectedLandmark value)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDetectedLandmark
Returns
TypeDescription
TimestampedObject.Builder

addLandmarks(DetectedLandmark.Builder builderForValue)

public TimestampedObject.Builder addLandmarks(DetectedLandmark.Builder builderForValue)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueDetectedLandmark.Builder
Returns
TypeDescription
TimestampedObject.Builder

addLandmarks(int index, DetectedLandmark value)

public TimestampedObject.Builder addLandmarks(int index, DetectedLandmark value)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueDetectedLandmark
Returns
TypeDescription
TimestampedObject.Builder

addLandmarks(int index, DetectedLandmark.Builder builderForValue)

public TimestampedObject.Builder addLandmarks(int index, DetectedLandmark.Builder builderForValue)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueDetectedLandmark.Builder
Returns
TypeDescription
TimestampedObject.Builder

addLandmarksBuilder()

public DetectedLandmark.Builder addLandmarksBuilder()

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DetectedLandmark.Builder

addLandmarksBuilder(int index)

public DetectedLandmark.Builder addLandmarksBuilder(int index)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedLandmark.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimestampedObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimestampedObject.Builder
Overrides

build()

public TimestampedObject build()
Returns
TypeDescription
TimestampedObject

buildPartial()

public TimestampedObject buildPartial()
Returns
TypeDescription
TimestampedObject

clear()

public TimestampedObject.Builder clear()
Returns
TypeDescription
TimestampedObject.Builder
Overrides

clearAttributes()

public TimestampedObject.Builder clearAttributes()

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampedObject.Builder

clearField(Descriptors.FieldDescriptor field)

public TimestampedObject.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimestampedObject.Builder
Overrides

clearLandmarks()

public TimestampedObject.Builder clearLandmarks()

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampedObject.Builder

clearNormalizedBoundingBox()

public TimestampedObject.Builder clearNormalizedBoundingBox()

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Returns
TypeDescription
TimestampedObject.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimestampedObject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimestampedObject.Builder
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
TypeDescription
TimestampedObject.Builder

clone()

public TimestampedObject.Builder clone()
Returns
TypeDescription
TimestampedObject.Builder
Overrides

getAttributes(int index)

public DetectedAttribute getAttributes(int index)

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedAttribute

getAttributesBuilder(int index)

public DetectedAttribute.Builder getAttributesBuilder(int index)

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedAttribute.Builder

getAttributesBuilderList()

public List<DetectedAttribute.Builder> getAttributesBuilderList()

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Builder>

getAttributesCount()

public int getAttributesCount()

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getAttributesList()

public List<DetectedAttribute> getAttributesList()

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<DetectedAttribute>

getAttributesOrBuilder(int index)

public DetectedAttributeOrBuilder getAttributesOrBuilder(int index)

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedAttributeOrBuilder

getAttributesOrBuilderList()

public List<? extends DetectedAttributeOrBuilder> getAttributesOrBuilderList()

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>

getDefaultInstanceForType()

public TimestampedObject getDefaultInstanceForType()
Returns
TypeDescription
TimestampedObject

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLandmarks(int index)

public DetectedLandmark getLandmarks(int index)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedLandmark

getLandmarksBuilder(int index)

public DetectedLandmark.Builder getLandmarksBuilder(int index)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedLandmark.Builder

getLandmarksBuilderList()

public List<DetectedLandmark.Builder> getLandmarksBuilderList()

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Builder>

getLandmarksCount()

public int getLandmarksCount()

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLandmarksList()

public List<DetectedLandmark> getLandmarksList()

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<DetectedLandmark>

getLandmarksOrBuilder(int index)

public DetectedLandmarkOrBuilder getLandmarksOrBuilder(int index)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedLandmarkOrBuilder

getLandmarksOrBuilderList()

public List<? extends DetectedLandmarkOrBuilder> getLandmarksOrBuilderList()

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder>

getNormalizedBoundingBox()

public NormalizedBoundingBox getNormalizedBoundingBox()

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Returns
TypeDescription
NormalizedBoundingBox

The normalizedBoundingBox.

getNormalizedBoundingBoxBuilder()

public NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Returns
TypeDescription
NormalizedBoundingBox.Builder

getNormalizedBoundingBoxOrBuilder()

public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Returns
TypeDescription
NormalizedBoundingBoxOrBuilder

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
TypeDescription
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;

Returns
TypeDescription
Builder

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
TypeDescription
DurationOrBuilder

hasNormalizedBoundingBox()

public boolean hasNormalizedBoundingBox()

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the timeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimestampedObject other)

public TimestampedObject.Builder mergeFrom(TimestampedObject other)
Parameter
NameDescription
otherTimestampedObject
Returns
TypeDescription
TimestampedObject.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimestampedObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimestampedObject.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimestampedObject.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimestampedObject.Builder
Overrides

mergeNormalizedBoundingBox(NormalizedBoundingBox value)

public TimestampedObject.Builder mergeNormalizedBoundingBox(NormalizedBoundingBox value)

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Parameter
NameDescription
valueNormalizedBoundingBox
Returns
TypeDescription
TimestampedObject.Builder

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
NameDescription
valueDuration
Returns
TypeDescription
TimestampedObject.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimestampedObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimestampedObject.Builder
Overrides

removeAttributes(int index)

public TimestampedObject.Builder removeAttributes(int index)

Optional. The attributes of the object in the bounding box.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampedObject.Builder

removeLandmarks(int index)

public TimestampedObject.Builder removeLandmarks(int index)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampedObject.Builder

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.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueDetectedAttribute
Returns
TypeDescription
TimestampedObject.Builder

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.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueDetectedAttribute.Builder
Returns
TypeDescription
TimestampedObject.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimestampedObject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimestampedObject.Builder
Overrides

setLandmarks(int index, DetectedLandmark value)

public TimestampedObject.Builder setLandmarks(int index, DetectedLandmark value)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueDetectedLandmark
Returns
TypeDescription
TimestampedObject.Builder

setLandmarks(int index, DetectedLandmark.Builder builderForValue)

public TimestampedObject.Builder setLandmarks(int index, DetectedLandmark.Builder builderForValue)

Optional. The detected landmarks.

repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueDetectedLandmark.Builder
Returns
TypeDescription
TimestampedObject.Builder

setNormalizedBoundingBox(NormalizedBoundingBox value)

public TimestampedObject.Builder setNormalizedBoundingBox(NormalizedBoundingBox value)

Normalized Bounding box in a frame, where the object is located.

.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Parameter
NameDescription
valueNormalizedBoundingBox
Returns
TypeDescription
TimestampedObject.Builder

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.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1;

Parameter
NameDescription
builderForValueNormalizedBoundingBox.Builder
Returns
TypeDescription
TimestampedObject.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimestampedObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimestampedObject.Builder
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
NameDescription
valueDuration
Returns
TypeDescription
TimestampedObject.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimestampedObject.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimestampedObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimestampedObject.Builder
Overrides