Send feedback
Class VideoObjectTrackingPredictionParams.Builder (2.9.7)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.7 keyboard_arrow_down
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.v1.schema.predict.params.VideoObjectTrackingPredictionParams
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public VideoObjectTrackingPredictionParams . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public VideoObjectTrackingPredictionParams build ()
Returns
public VideoObjectTrackingPredictionParams buildPartial ()
Returns
public VideoObjectTrackingPredictionParams . Builder clear ()
Returns
Overrides
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
public VideoObjectTrackingPredictionParams . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
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
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
public VideoObjectTrackingPredictionParams . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public VideoObjectTrackingPredictionParams . Builder clone ()
Returns
Overrides
public float getConfidenceThreshold ()
The Model only returns predictions with at least this confidence score.
Default value is 0.0
float confidence_threshold = 1;
Returns
Type Description float The confidenceThreshold.
public VideoObjectTrackingPredictionParams getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
Type Description int The maxPredictions.
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
Type Description float The minBoundingBoxSize.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public VideoObjectTrackingPredictionParams . Builder mergeFrom ( VideoObjectTrackingPredictionParams other )
Parameter
Returns
public VideoObjectTrackingPredictionParams . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public VideoObjectTrackingPredictionParams . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final VideoObjectTrackingPredictionParams . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
Name Description value float
The confidenceThreshold to set.
Returns
public VideoObjectTrackingPredictionParams . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
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
Name Description value int
The maxPredictions to set.
Returns
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
Name Description value float
The minBoundingBoxSize to set.
Returns
public VideoObjectTrackingPredictionParams . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final VideoObjectTrackingPredictionParams . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]