Class ImageSegmentationPredictionParams (3.44.0)

public final class ImageSegmentationPredictionParams extends GeneratedMessageV3 implements ImageSegmentationPredictionParamsOrBuilder

Prediction model parameters for Image Segmentation.

Protobuf type google.cloud.aiplatform.v1.schema.predict.params.ImageSegmentationPredictionParams

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImageSegmentationPredictionParams

Static Fields

CONFIDENCE_THRESHOLD_FIELD_NUMBER

public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImageSegmentationPredictionParams getDefaultInstance()
Returns
Type Description
ImageSegmentationPredictionParams

getDescriptor()

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

newBuilder()

public static ImageSegmentationPredictionParams.Builder newBuilder()
Returns
Type Description
ImageSegmentationPredictionParams.Builder

newBuilder(ImageSegmentationPredictionParams prototype)

public static ImageSegmentationPredictionParams.Builder newBuilder(ImageSegmentationPredictionParams prototype)
Parameter
Name Description
prototype ImageSegmentationPredictionParams
Returns
Type Description
ImageSegmentationPredictionParams.Builder

parseDelimitedFrom(InputStream input)

public static ImageSegmentationPredictionParams parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImageSegmentationPredictionParams parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageSegmentationPredictionParams parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageSegmentationPredictionParams parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImageSegmentationPredictionParams parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImageSegmentationPredictionParams parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageSegmentationPredictionParams
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImageSegmentationPredictionParams> parser()
Returns
Type Description
Parser<ImageSegmentationPredictionParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfidenceThreshold()

public float getConfidenceThreshold()

When the model predicts category of pixels of the image, it will only provide predictions for pixels that it is at least this much confident about. All other pixels will be classified as background. Default value is 0.5.

float confidence_threshold = 1;

Returns
Type Description
float

The confidenceThreshold.

getDefaultInstanceForType()

public ImageSegmentationPredictionParams getDefaultInstanceForType()
Returns
Type Description
ImageSegmentationPredictionParams

getParserForType()

public Parser<ImageSegmentationPredictionParams> getParserForType()
Returns
Type Description
Parser<ImageSegmentationPredictionParams>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImageSegmentationPredictionParams.Builder newBuilderForType()
Returns
Type Description
ImageSegmentationPredictionParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageSegmentationPredictionParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImageSegmentationPredictionParams.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImageSegmentationPredictionParams.Builder toBuilder()
Returns
Type Description
ImageSegmentationPredictionParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException