Class ImageSegmentationPredictionParams (3.32.0)

public final class ImageSegmentationPredictionParams extends GeneratedMessageV3 implements ImageSegmentationPredictionParamsOrBuilder

Prediction model parameters for Image Segmentation.

Protobuf type google.cloud.aiplatform.v1beta1.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageSegmentationPredictionParams getDefaultInstance()
Returns
TypeDescription
ImageSegmentationPredictionParams

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImageSegmentationPredictionParams.Builder newBuilder()
Returns
TypeDescription
ImageSegmentationPredictionParams.Builder

newBuilder(ImageSegmentationPredictionParams prototype)

public static ImageSegmentationPredictionParams.Builder newBuilder(ImageSegmentationPredictionParams prototype)
Parameter
NameDescription
prototypeImageSegmentationPredictionParams
Returns
TypeDescription
ImageSegmentationPredictionParams.Builder

parseDelimitedFrom(InputStream input)

public static ImageSegmentationPredictionParams parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImageSegmentationPredictionParams parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageSegmentationPredictionParams parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageSegmentationPredictionParams parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImageSegmentationPredictionParams parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImageSegmentationPredictionParams parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageSegmentationPredictionParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageSegmentationPredictionParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImageSegmentationPredictionParams> parser()
Returns
TypeDescription
Parser<ImageSegmentationPredictionParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
float

The confidenceThreshold.

getDefaultInstanceForType()

public ImageSegmentationPredictionParams getDefaultInstanceForType()
Returns
TypeDescription
ImageSegmentationPredictionParams

getParserForType()

public Parser<ImageSegmentationPredictionParams> getParserForType()
Returns
TypeDescription
Parser<ImageSegmentationPredictionParams>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImageSegmentationPredictionParams.Builder newBuilderForType()
Returns
TypeDescription
ImageSegmentationPredictionParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageSegmentationPredictionParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImageSegmentationPredictionParams.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImageSegmentationPredictionParams.Builder toBuilder()
Returns
TypeDescription
ImageSegmentationPredictionParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException