public static final class MetricResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetricResult.Builder> implements MetricResultOrBuilder
Result for a single metric on a single instance.Protobuf type
google.cloud.aiplatform.v1beta1.MetricResult| Modifier and Type | Method and Description |
|---|---|
MetricResult |
build() |
MetricResult |
buildPartial() |
MetricResult.Builder |
clear() |
MetricResult.Builder |
clearError()
Output only.
|
MetricResult.Builder |
clearExplanation()
Output only.
|
MetricResult.Builder |
clearScore()
Output only.
|
MetricResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.Status.Builder |
getErrorBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
String |
getExplanation()
Output only.
|
com.google.protobuf.ByteString |
getExplanationBytes()
Output only.
|
float |
getScore()
Output only.
|
boolean |
hasError()
Output only.
|
boolean |
hasExplanation()
Output only.
|
boolean |
hasScore()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetricResult.Builder |
mergeError(com.google.rpc.Status value)
Output only.
|
MetricResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetricResult.Builder |
mergeFrom(MetricResult other) |
MetricResult.Builder |
setError(com.google.rpc.Status.Builder builderForValue)
Output only.
|
MetricResult.Builder |
setError(com.google.rpc.Status value)
Output only.
|
MetricResult.Builder |
setExplanation(String value)
Output only.
|
MetricResult.Builder |
setExplanationBytes(com.google.protobuf.ByteString value)
Output only.
|
MetricResult.Builder |
setScore(float value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MetricResult.Builder>public MetricResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<MetricResult.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.GeneratedMessage.Builder<MetricResult.Builder>public MetricResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetricResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetricResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetricResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricResult.Builder>public MetricResult.Builder mergeFrom(MetricResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<MetricResult.Builder>public MetricResult.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<MetricResult.Builder>IOExceptionpublic boolean hasScore()
Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];hasScore in interface MetricResultOrBuilderpublic float getScore()
Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getScore in interface MetricResultOrBuilderpublic MetricResult.Builder setScore(float value)
Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The score to set.public MetricResult.Builder clearScore()
Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasExplanation()
Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];hasExplanation in interface MetricResultOrBuilderpublic String getExplanation()
Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanation in interface MetricResultOrBuilderpublic com.google.protobuf.ByteString getExplanationBytes()
Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanationBytes in interface MetricResultOrBuilderpublic MetricResult.Builder setExplanation(String value)
Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The explanation to set.public MetricResult.Builder clearExplanation()
Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public MetricResult.Builder setExplanationBytes(com.google.protobuf.ByteString value)
Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for explanation to set.public boolean hasError()
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasError in interface MetricResultOrBuilderpublic com.google.rpc.Status getError()
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getError in interface MetricResultOrBuilderpublic MetricResult.Builder setError(com.google.rpc.Status value)
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetricResult.Builder setError(com.google.rpc.Status.Builder builderForValue)
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetricResult.Builder mergeError(com.google.rpc.Status value)
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetricResult.Builder clearError()
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.rpc.Status.Builder getErrorBuilder()
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorOrBuilder in interface MetricResultOrBuilderCopyright © 2026 Google LLC. All rights reserved.