Class TabularClassificationPredictionResult (3.38.0)

public final class TabularClassificationPredictionResult extends GeneratedMessageV3 implements TabularClassificationPredictionResultOrBuilder

Prediction output format for Tabular Classification.

Protobuf type google.cloud.aiplatform.v1beta1.schema.predict.prediction.TabularClassificationPredictionResult

Inheritance

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

Static Fields

CLASSES_FIELD_NUMBER

public static final int CLASSES_FIELD_NUMBER
Field Value
TypeDescription
int

SCORES_FIELD_NUMBER

public static final int SCORES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TabularClassificationPredictionResult getDefaultInstance()
Returns
TypeDescription
TabularClassificationPredictionResult

getDescriptor()

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

newBuilder()

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

newBuilder(TabularClassificationPredictionResult prototype)

public static TabularClassificationPredictionResult.Builder newBuilder(TabularClassificationPredictionResult prototype)
Parameter
NameDescription
prototypeTabularClassificationPredictionResult
Returns
TypeDescription
TabularClassificationPredictionResult.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClasses(int index)

public String getClasses(int index)

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The classes at the given index.

getClassesBytes(int index)

public ByteString getClassesBytes(int index)

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the classes at the given index.

getClassesCount()

public int getClassesCount()

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Returns
TypeDescription
int

The count of classes.

getClassesList()

public ProtocolStringList getClassesList()

The name of the classes being classified, contains all possible values of the target column.

repeated string classes = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the classes.

getDefaultInstanceForType()

public TabularClassificationPredictionResult getDefaultInstanceForType()
Returns
TypeDescription
TabularClassificationPredictionResult

getParserForType()

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

getScores(int index)

public float getScores(int index)

The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

repeated float scores = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
float

The scores at the given index.

getScoresCount()

public int getScoresCount()

The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

repeated float scores = 2;

Returns
TypeDescription
int

The count of scores.

getScoresList()

public List<Float> getScoresList()

The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

repeated float scores = 2;

Returns
TypeDescription
List<Float>

A list containing the scores.

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 TabularClassificationPredictionResult.Builder newBuilderForType()
Returns
TypeDescription
TabularClassificationPredictionResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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