public final class VideoActionRecognitionPredictionParams extends GeneratedMessageV3 implements VideoActionRecognitionPredictionParamsOrBuilder
Prediction model parameters for Video Action Recognition.
Protobuf type
google.cloud.aiplatform.v1beta1.schema.predict.params.VideoActionRecognitionPredictionParams
Static Fields
public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
public static final int MAX_PREDICTIONS_FIELD_NUMBER
Field Value
Static Methods
public static VideoActionRecognitionPredictionParams getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static VideoActionRecognitionPredictionParams.Builder newBuilder()
Returns
public static VideoActionRecognitionPredictionParams.Builder newBuilder(VideoActionRecognitionPredictionParams prototype)
Parameter
Returns
public static VideoActionRecognitionPredictionParams parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<VideoActionRecognitionPredictionParams> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
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 VideoActionRecognitionPredictionParams getDefaultInstanceForType()
Returns
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 Parser<VideoActionRecognitionPredictionParams> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VideoActionRecognitionPredictionParams.Builder newBuilderForType()
Returns
protected VideoActionRecognitionPredictionParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public VideoActionRecognitionPredictionParams.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions