Class VideoObjectTrackingPredictionParams.Builder (2.9.6)

public static final class VideoObjectTrackingPredictionParams.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingPredictionParams.Builder> implements VideoObjectTrackingPredictionParamsOrBuilder

Prediction model parameters for Video Object Tracking.

Protobuf type google.cloud.aiplatform.v1beta1.schema.predict.params.VideoObjectTrackingPredictionParams

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoObjectTrackingPredictionParams build()
Returns
TypeDescription
VideoObjectTrackingPredictionParams

buildPartial()

public VideoObjectTrackingPredictionParams buildPartial()
Returns
TypeDescription
VideoObjectTrackingPredictionParams

clear()

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

clearConfidenceThreshold()

public VideoObjectTrackingPredictionParams.Builder clearConfidenceThreshold()

The Model only returns predictions with at least this confidence score. Default value is 0.0

float confidence_threshold = 1;

Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMaxPredictions()

public VideoObjectTrackingPredictionParams.Builder clearMaxPredictions()

The model only returns up to that many top, by confidence score, predictions per frame of the video. If this number is very high, the Model may return fewer predictions per frame. Default value is 50.

int32 max_predictions = 2;

Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

This builder for chaining.

clearMinBoundingBoxSize()

public VideoObjectTrackingPredictionParams.Builder clearMinBoundingBoxSize()

Only bounding boxes with shortest edge at least that long as a relative value of video frame size are returned. Default value is 0.0.

float min_bounding_box_size = 3;

Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder
Overrides

clone()

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

getConfidenceThreshold()

public float getConfidenceThreshold()

The Model only returns predictions with at least this confidence score. Default value is 0.0

float confidence_threshold = 1;

Returns
TypeDescription
float

The confidenceThreshold.

getDefaultInstanceForType()

public VideoObjectTrackingPredictionParams getDefaultInstanceForType()
Returns
TypeDescription
VideoObjectTrackingPredictionParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaxPredictions()

public int getMaxPredictions()

The model only returns up to that many top, by confidence score, predictions per frame of the video. If this number is very high, the Model may return fewer predictions per frame. Default value is 50.

int32 max_predictions = 2;

Returns
TypeDescription
int

The maxPredictions.

getMinBoundingBoxSize()

public float getMinBoundingBoxSize()

Only bounding boxes with shortest edge at least that long as a relative value of video frame size are returned. Default value is 0.0.

float min_bounding_box_size = 3;

Returns
TypeDescription
float

The minBoundingBoxSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoObjectTrackingPredictionParams other)

public VideoObjectTrackingPredictionParams.Builder mergeFrom(VideoObjectTrackingPredictionParams other)
Parameter
NameDescription
otherVideoObjectTrackingPredictionParams
Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfidenceThreshold(float value)

public VideoObjectTrackingPredictionParams.Builder setConfidenceThreshold(float value)

The Model only returns predictions with at least this confidence score. Default value is 0.0

float confidence_threshold = 1;

Parameter
NameDescription
valuefloat

The confidenceThreshold to set.

Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxPredictions(int value)

public VideoObjectTrackingPredictionParams.Builder setMaxPredictions(int value)

The model only returns up to that many top, by confidence score, predictions per frame of the video. If this number is very high, the Model may return fewer predictions per frame. Default value is 50.

int32 max_predictions = 2;

Parameter
NameDescription
valueint

The maxPredictions to set.

Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

This builder for chaining.

setMinBoundingBoxSize(float value)

public VideoObjectTrackingPredictionParams.Builder setMinBoundingBoxSize(float value)

Only bounding boxes with shortest edge at least that long as a relative value of video frame size are returned. Default value is 0.0.

float min_bounding_box_size = 3;

Parameter
NameDescription
valuefloat

The minBoundingBoxSize to set.

Returns
TypeDescription
VideoObjectTrackingPredictionParams.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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