- 3.79.0 (latest)
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ClassificationPredictionResult.Builder extends GeneratedMessageV3.Builder<ClassificationPredictionResult.Builder> implements ClassificationPredictionResultOrBuilderPrediction output format for Image and Text Classification.
 Protobuf type 
 google.cloud.aiplatform.v1beta1.schema.predict.prediction.ClassificationPredictionResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClassificationPredictionResult.BuilderImplements
ClassificationPredictionResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllConfidences(Iterable<? extends Float> values)
public ClassificationPredictionResult.Builder addAllConfidences(Iterable<? extends Float> values)The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends java.lang.Float>The confidences to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addAllDisplayNames(Iterable<String> values)
public ClassificationPredictionResult.Builder addAllDisplayNames(Iterable<String> values)The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The displayNames to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addAllIds(Iterable<? extends Long> values)
public ClassificationPredictionResult.Builder addAllIds(Iterable<? extends Long> values)The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends java.lang.Long>The ids to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addConfidences(float value)
public ClassificationPredictionResult.Builder addConfidences(float value)The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | floatThe confidences to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addDisplayNames(String value)
public ClassificationPredictionResult.Builder addDisplayNames(String value)The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe displayNames to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addDisplayNamesBytes(ByteString value)
public ClassificationPredictionResult.Builder addDisplayNamesBytes(ByteString value)The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the displayNames to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addIds(long value)
public ClassificationPredictionResult.Builder addIds(long value)The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | longThe ids to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClassificationPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
build()
public ClassificationPredictionResult build()| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult | |
buildPartial()
public ClassificationPredictionResult buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult | |
clear()
public ClassificationPredictionResult.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
clearConfidences()
public ClassificationPredictionResult.Builder clearConfidences()The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
clearDisplayNames()
public ClassificationPredictionResult.Builder clearDisplayNames()The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public ClassificationPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
clearIds()
public ClassificationPredictionResult.Builder clearIds()The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public ClassificationPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
clone()
public ClassificationPredictionResult.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
getConfidences(int index)
public float getConfidences(int index)The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| float | The confidences at the given index. | 
getConfidencesCount()
public int getConfidencesCount()The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of confidences. | 
getConfidencesList()
public List<Float> getConfidencesList()The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Returns | |
|---|---|
| Type | Description | 
| List<Float> | A list containing the confidences. | 
getDefaultInstanceForType()
public ClassificationPredictionResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDisplayNames(int index)
public String getDisplayNames(int index)The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The displayNames at the given index. | 
getDisplayNamesBytes(int index)
public ByteString getDisplayNamesBytes(int index)The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the displayNames at the given index. | 
getDisplayNamesCount()
public int getDisplayNamesCount()The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of displayNames. | 
getDisplayNamesList()
public ProtocolStringList getDisplayNamesList()The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the displayNames. | 
getIds(int index)
public long getIds(int index)The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| long | The ids at the given index. | 
getIdsCount()
public int getIdsCount()The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of ids. | 
getIdsList()
public List<Long> getIdsList()The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Returns | |
|---|---|
| Type | Description | 
| List<Long> | A list containing the ids. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(ClassificationPredictionResult other)
public ClassificationPredictionResult.Builder mergeFrom(ClassificationPredictionResult other)| Parameter | |
|---|---|
| Name | Description | 
| other | ClassificationPredictionResult | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClassificationPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ClassificationPredictionResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClassificationPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
setConfidences(int index, float value)
public ClassificationPredictionResult.Builder setConfidences(int index, float value)The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 repeated float confidences = 3;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | floatThe confidences to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
setDisplayNames(int index, String value)
public ClassificationPredictionResult.Builder setDisplayNames(int index, String value)The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 repeated string display_names = 2;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe displayNames to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public ClassificationPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
setIds(int index, long value)
public ClassificationPredictionResult.Builder setIds(int index, long value)The resource IDs of the AnnotationSpecs that had been identified.
 repeated int64 ids = 1;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | longThe ids to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClassificationPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClassificationPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ClassificationPredictionResult.Builder | |