public final class ImageObjectDetectionPredictionParams extends GeneratedMessageV3 implements ImageObjectDetectionPredictionParamsOrBuilder
Prediction model parameters for Image Object Detection.
Protobuf type
google.cloud.aiplatform.v1beta1.schema.predict.params.ImageObjectDetectionPredictionParams
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 ImageObjectDetectionPredictionParams getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ImageObjectDetectionPredictionParams.Builder newBuilder()
Returns
public static ImageObjectDetectionPredictionParams.Builder newBuilder(ImageObjectDetectionPredictionParams prototype)
Parameter
Returns
public static ImageObjectDetectionPredictionParams parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ImageObjectDetectionPredictionParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ImageObjectDetectionPredictionParams> 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 ImageObjectDetectionPredictionParams getDefaultInstanceForType()
Returns
public int getMaxPredictions()
The Model only returns up to that many top, by confidence score,
predictions per instance. Note that number of returned predictions is also
limited by metadata's predictionsLimit. Default value is 10.
int32 max_predictions = 2;
Returns
Type | Description |
int | The maxPredictions.
|
public Parser<ImageObjectDetectionPredictionParams> 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 ImageObjectDetectionPredictionParams.Builder newBuilderForType()
Returns
protected ImageObjectDetectionPredictionParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ImageObjectDetectionPredictionParams.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions