Class VideoObjectTrackingPredictionResult.Builder (3.17.0)

public static final class VideoObjectTrackingPredictionResult.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingPredictionResult.Builder> implements VideoObjectTrackingPredictionResultOrBuilder

Prediction output format for Video Object Tracking.

Protobuf type google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult

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

Methods

addAllFrames(Iterable<? extends VideoObjectTrackingPredictionResult.Frame> values)

public VideoObjectTrackingPredictionResult.Builder addAllFrames(Iterable<? extends VideoObjectTrackingPredictionResult.Frame> values)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame>

addFrames(VideoObjectTrackingPredictionResult.Frame value)

public VideoObjectTrackingPredictionResult.Builder addFrames(VideoObjectTrackingPredictionResult.Frame value)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
valueVideoObjectTrackingPredictionResult.Frame

addFrames(VideoObjectTrackingPredictionResult.Frame.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder addFrames(VideoObjectTrackingPredictionResult.Frame.Builder builderForValue)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
builderForValueVideoObjectTrackingPredictionResult.Frame.Builder

addFrames(int index, VideoObjectTrackingPredictionResult.Frame value)

public VideoObjectTrackingPredictionResult.Builder addFrames(int index, VideoObjectTrackingPredictionResult.Frame value)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameters
NameDescription
indexint
valueVideoObjectTrackingPredictionResult.Frame

addFrames(int index, VideoObjectTrackingPredictionResult.Frame.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder addFrames(int index, VideoObjectTrackingPredictionResult.Frame.Builder builderForValue)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameters
NameDescription
indexint
builderForValueVideoObjectTrackingPredictionResult.Frame.Builder

addFramesBuilder()

public VideoObjectTrackingPredictionResult.Frame.Builder addFramesBuilder()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

addFramesBuilder(int index)

public VideoObjectTrackingPredictionResult.Frame.Builder addFramesBuilder(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoObjectTrackingPredictionResult build()

buildPartial()

public VideoObjectTrackingPredictionResult buildPartial()

clear()

public VideoObjectTrackingPredictionResult.Builder clear()
Overrides

clearConfidence()

public VideoObjectTrackingPredictionResult.Builder clearConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

clearDisplayName()

public VideoObjectTrackingPredictionResult.Builder clearDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoObjectTrackingPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearFrames()

public VideoObjectTrackingPredictionResult.Builder clearFrames()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

clearId()

public VideoObjectTrackingPredictionResult.Builder clearId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearTimeSegmentEnd()

public VideoObjectTrackingPredictionResult.Builder clearTimeSegmentEnd()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

clearTimeSegmentStart()

public VideoObjectTrackingPredictionResult.Builder clearTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

clone()

public VideoObjectTrackingPredictionResult.Builder clone()
Overrides

getConfidence()

public FloatValue getConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
FloatValue

The confidence.

getConfidenceBuilder()

public FloatValue.Builder getConfidenceBuilder()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
Builder

getConfidenceOrBuilder()

public FloatValueOrBuilder getConfidenceOrBuilder()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
FloatValueOrBuilder

getDefaultInstanceForType()

public VideoObjectTrackingPredictionResult getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getFrames(int index)

public VideoObjectTrackingPredictionResult.Frame getFrames(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint

getFramesBuilder(int index)

public VideoObjectTrackingPredictionResult.Frame.Builder getFramesBuilder(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint

getFramesBuilderList()

public List<VideoObjectTrackingPredictionResult.Frame.Builder> getFramesBuilderList()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
List<Builder>

getFramesCount()

public int getFramesCount()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
int

getFramesList()

public List<VideoObjectTrackingPredictionResult.Frame> getFramesList()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
List<Frame>

getFramesOrBuilder(int index)

public VideoObjectTrackingPredictionResult.FrameOrBuilder getFramesOrBuilder(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint

getFramesOrBuilderList()

public List<? extends VideoObjectTrackingPredictionResult.FrameOrBuilder> getFramesOrBuilderList()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.FrameOrBuilder>

getId()

public String getId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getTimeSegmentEnd()

public Duration getTimeSegmentEnd()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
Duration

The timeSegmentEnd.

getTimeSegmentEndBuilder()

public Duration.Builder getTimeSegmentEndBuilder()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
Builder

getTimeSegmentEndOrBuilder()

public DurationOrBuilder getTimeSegmentEndOrBuilder()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
DurationOrBuilder

getTimeSegmentStart()

public Duration getTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
Duration

The timeSegmentStart.

getTimeSegmentStartBuilder()

public Duration.Builder getTimeSegmentStartBuilder()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
Builder

getTimeSegmentStartOrBuilder()

public DurationOrBuilder getTimeSegmentStartOrBuilder()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
DurationOrBuilder

hasConfidence()

public boolean hasConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
boolean

Whether the confidence field is set.

hasTimeSegmentEnd()

public boolean hasTimeSegmentEnd()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
boolean

Whether the timeSegmentEnd field is set.

hasTimeSegmentStart()

public boolean hasTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
boolean

Whether the timeSegmentStart field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfidence(FloatValue value)

public VideoObjectTrackingPredictionResult.Builder mergeConfidence(FloatValue value)

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Parameter
NameDescription
valueFloatValue

mergeFrom(VideoObjectTrackingPredictionResult other)

public VideoObjectTrackingPredictionResult.Builder mergeFrom(VideoObjectTrackingPredictionResult other)
Parameter
NameDescription
otherVideoObjectTrackingPredictionResult

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VideoObjectTrackingPredictionResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeTimeSegmentEnd(Duration value)

public VideoObjectTrackingPredictionResult.Builder mergeTimeSegmentEnd(Duration value)

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Parameter
NameDescription
valueDuration

mergeTimeSegmentStart(Duration value)

public VideoObjectTrackingPredictionResult.Builder mergeTimeSegmentStart(Duration value)

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Parameter
NameDescription
valueDuration

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

removeFrames(int index)

public VideoObjectTrackingPredictionResult.Builder removeFrames(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint

setConfidence(FloatValue value)

public VideoObjectTrackingPredictionResult.Builder setConfidence(FloatValue value)

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Parameter
NameDescription
valueFloatValue

setConfidence(FloatValue.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setConfidence(FloatValue.Builder builderForValue)

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Parameter
NameDescription
builderForValueBuilder

setDisplayName(String value)

public VideoObjectTrackingPredictionResult.Builder setDisplayName(String value)

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public VideoObjectTrackingPredictionResult.Builder setDisplayNameBytes(ByteString value)

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrames(int index, VideoObjectTrackingPredictionResult.Frame value)

public VideoObjectTrackingPredictionResult.Builder setFrames(int index, VideoObjectTrackingPredictionResult.Frame value)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameters
NameDescription
indexint
valueVideoObjectTrackingPredictionResult.Frame

setFrames(int index, VideoObjectTrackingPredictionResult.Frame.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setFrames(int index, VideoObjectTrackingPredictionResult.Frame.Builder builderForValue)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameters
NameDescription
indexint
builderForValueVideoObjectTrackingPredictionResult.Frame.Builder

setId(String value)

public VideoObjectTrackingPredictionResult.Builder setId(String value)

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

This builder for chaining.

setIdBytes(ByteString value)

public VideoObjectTrackingPredictionResult.Builder setIdBytes(ByteString value)

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

This builder for chaining.

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

public VideoObjectTrackingPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setTimeSegmentEnd(Duration value)

public VideoObjectTrackingPredictionResult.Builder setTimeSegmentEnd(Duration value)

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Parameter
NameDescription
valueDuration

setTimeSegmentEnd(Duration.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setTimeSegmentEnd(Duration.Builder builderForValue)

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Parameter
NameDescription
builderForValueBuilder

setTimeSegmentStart(Duration value)

public VideoObjectTrackingPredictionResult.Builder setTimeSegmentStart(Duration value)

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Parameter
NameDescription
valueDuration

setTimeSegmentStart(Duration.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Builder setTimeSegmentStart(Duration.Builder builderForValue)

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Parameter
NameDescription
builderForValueBuilder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides