public static final class TabularClassificationPredictionResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder> implements TabularClassificationPredictionResultOrBuilder
Prediction output format for Tabular Classification.Protobuf type
google.cloud.aiplatform.v1.schema.predict.prediction.TabularClassificationPredictionResult| Modifier and Type | Method and Description |
|---|---|
TabularClassificationPredictionResult.Builder |
addAllClasses(Iterable<String> values)
The name of the classes being classified, contains all possible values of
the target column.
|
TabularClassificationPredictionResult.Builder |
addAllScores(Iterable<? extends Float> values)
The model's confidence in each class being correct, higher
value means higher confidence.
|
TabularClassificationPredictionResult.Builder |
addClasses(String value)
The name of the classes being classified, contains all possible values of
the target column.
|
TabularClassificationPredictionResult.Builder |
addClassesBytes(com.google.protobuf.ByteString value)
The name of the classes being classified, contains all possible values of
the target column.
|
TabularClassificationPredictionResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TabularClassificationPredictionResult.Builder |
addScores(float value)
The model's confidence in each class being correct, higher
value means higher confidence.
|
TabularClassificationPredictionResult |
build() |
TabularClassificationPredictionResult |
buildPartial() |
TabularClassificationPredictionResult.Builder |
clear() |
TabularClassificationPredictionResult.Builder |
clearClasses()
The name of the classes being classified, contains all possible values of
the target column.
|
TabularClassificationPredictionResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TabularClassificationPredictionResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TabularClassificationPredictionResult.Builder |
clearScores()
The model's confidence in each class being correct, higher
value means higher confidence.
|
TabularClassificationPredictionResult.Builder |
clone() |
String |
getClasses(int index)
The name of the classes being classified, contains all possible values of
the target column.
|
com.google.protobuf.ByteString |
getClassesBytes(int index)
The name of the classes being classified, contains all possible values of
the target column.
|
int |
getClassesCount()
The name of the classes being classified, contains all possible values of
the target column.
|
com.google.protobuf.ProtocolStringList |
getClassesList()
The name of the classes being classified, contains all possible values of
the target column.
|
TabularClassificationPredictionResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getScores(int index)
The model's confidence in each class being correct, higher
value means higher confidence.
|
int |
getScoresCount()
The model's confidence in each class being correct, higher
value means higher confidence.
|
List<Float> |
getScoresList()
The model's confidence in each class being correct, higher
value means higher confidence.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TabularClassificationPredictionResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TabularClassificationPredictionResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
TabularClassificationPredictionResult.Builder |
mergeFrom(TabularClassificationPredictionResult other) |
TabularClassificationPredictionResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TabularClassificationPredictionResult.Builder |
setClasses(int index,
String value)
The name of the classes being classified, contains all possible values of
the target column.
|
TabularClassificationPredictionResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TabularClassificationPredictionResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TabularClassificationPredictionResult.Builder |
setScores(int index,
float value)
The model's confidence in each class being correct, higher
value means higher confidence.
|
TabularClassificationPredictionResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TabularClassificationPredictionResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TabularClassificationPredictionResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TabularClassificationPredictionResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder mergeFrom(TabularClassificationPredictionResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public TabularClassificationPredictionResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TabularClassificationPredictionResult.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getClassesList()
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;getClassesList in interface TabularClassificationPredictionResultOrBuilderpublic int getClassesCount()
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;getClassesCount in interface TabularClassificationPredictionResultOrBuilderpublic String getClasses(int index)
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;getClasses in interface TabularClassificationPredictionResultOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getClassesBytes(int index)
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;getClassesBytes in interface TabularClassificationPredictionResultOrBuilderindex - The index of the value to return.public TabularClassificationPredictionResult.Builder setClasses(int index, String value)
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;index - The index to set the value at.value - The classes to set.public TabularClassificationPredictionResult.Builder addClasses(String value)
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;value - The classes to add.public TabularClassificationPredictionResult.Builder addAllClasses(Iterable<String> values)
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;values - The classes to add.public TabularClassificationPredictionResult.Builder clearClasses()
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;public TabularClassificationPredictionResult.Builder addClassesBytes(com.google.protobuf.ByteString value)
The name of the classes being classified, contains all possible values of the target column.
repeated string classes = 1;value - The bytes of the classes to add.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;getScoresList in interface TabularClassificationPredictionResultOrBuilderpublic 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;getScoresCount in interface TabularClassificationPredictionResultOrBuilderpublic 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;getScores in interface TabularClassificationPredictionResultOrBuilderindex - The index of the element to return.public TabularClassificationPredictionResult.Builder setScores(int index, float value)
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;index - The index to set the value at.value - The scores to set.public TabularClassificationPredictionResult.Builder addScores(float value)
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;value - The scores to add.public TabularClassificationPredictionResult.Builder addAllScores(Iterable<? extends Float> values)
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;values - The scores to add.public TabularClassificationPredictionResult.Builder clearScores()
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;public final TabularClassificationPredictionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>public final TabularClassificationPredictionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TabularClassificationPredictionResult.Builder>Copyright © 2025 Google LLC. All rights reserved.