Class VideoActionRecognitionPredictionParams.Builder (3.56.0)

public static final class VideoActionRecognitionPredictionParams.Builder extends GeneratedMessageV3.Builder<VideoActionRecognitionPredictionParams.Builder> implements VideoActionRecognitionPredictionParamsOrBuilder

Prediction model parameters for Video Action Recognition.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

build()

public VideoActionRecognitionPredictionParams build()
Returns
Type Description
VideoActionRecognitionPredictionParams

buildPartial()

public VideoActionRecognitionPredictionParams buildPartial()
Returns
Type Description
VideoActionRecognitionPredictionParams

clear()

public VideoActionRecognitionPredictionParams.Builder clear()
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

clearConfidenceThreshold()

public VideoActionRecognitionPredictionParams.Builder clearConfidenceThreshold()

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

float confidence_threshold = 1;

Returns
Type Description
VideoActionRecognitionPredictionParams.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoActionRecognitionPredictionParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

clearMaxPredictions()

public VideoActionRecognitionPredictionParams.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
Type Description
VideoActionRecognitionPredictionParams.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoActionRecognitionPredictionParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

clone()

public VideoActionRecognitionPredictionParams.Builder clone()
Returns
Type Description
VideoActionRecognitionPredictionParams.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
Type Description
float

The confidenceThreshold.

getDefaultInstanceForType()

public VideoActionRecognitionPredictionParams getDefaultInstanceForType()
Returns
Type Description
VideoActionRecognitionPredictionParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
int

The maxPredictions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoActionRecognitionPredictionParams other)

public VideoActionRecognitionPredictionParams.Builder mergeFrom(VideoActionRecognitionPredictionParams other)
Parameter
Name Description
other VideoActionRecognitionPredictionParams
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoActionRecognitionPredictionParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoActionRecognitionPredictionParams.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

setConfidenceThreshold(float value)

public VideoActionRecognitionPredictionParams.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
Type Description
VideoActionRecognitionPredictionParams.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

setMaxPredictions(int value)

public VideoActionRecognitionPredictionParams.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
Type Description
VideoActionRecognitionPredictionParams.Builder

This builder for chaining.

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

public VideoActionRecognitionPredictionParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoActionRecognitionPredictionParams.Builder
Overrides