Package com.google.cloud.aiplatform.v1
Class PointwiseMetricResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PointwiseMetricResult.Builder>
com.google.cloud.aiplatform.v1.PointwiseMetricResult.Builder
- All Implemented Interfaces:
PointwiseMetricResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PointwiseMetricResult
public static final class PointwiseMetricResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PointwiseMetricResult.Builder>
implements PointwiseMetricResultOrBuilder
Spec for pointwise metric result.Protobuf type
google.cloud.aiplatform.v1.PointwiseMetricResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.floatgetScore()Output only.booleanOutput only.booleanhasScore()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCustomOutput(CustomOutput value) Output only.mergeFrom(PointwiseMetricResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCustomOutput(CustomOutput value) Output only.setCustomOutput(CustomOutput.Builder builderForValue) Output only.setExplanation(String value) Output only.setExplanationBytes(com.google.protobuf.ByteString value) Output only.setScore(float value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PointwiseMetricResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricResult.Builder>
-
mergeFrom
public PointwiseMetricResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PointwiseMetricResult.Builder>- Throws:
IOException
-
hasScore
public boolean hasScore()Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasScorein interfacePointwiseMetricResultOrBuilder- Returns:
- Whether the score field is set.
-
getScore
public float getScore()Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getScorein interfacePointwiseMetricResultOrBuilder- Returns:
- The score.
-
setScore
Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The score to set.- Returns:
- This builder for chaining.
-
clearScore
Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getExplanation
Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExplanationin interfacePointwiseMetricResultOrBuilder- Returns:
- The explanation.
-
getExplanationBytes
public com.google.protobuf.ByteString getExplanationBytes()Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExplanationBytesin interfacePointwiseMetricResultOrBuilder- Returns:
- The bytes for explanation.
-
setExplanation
Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The explanation to set.- Returns:
- This builder for chaining.
-
clearExplanation
Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setExplanationBytes
Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for explanation to set.- Returns:
- This builder for chaining.
-
hasCustomOutput
public boolean hasCustomOutput()Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomOutputin interfacePointwiseMetricResultOrBuilder- Returns:
- Whether the customOutput field is set.
-
getCustomOutput
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomOutputin interfacePointwiseMetricResultOrBuilder- Returns:
- The customOutput.
-
setCustomOutput
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCustomOutput
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCustomOutput
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCustomOutput
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomOutputBuilder
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomOutputOrBuilder
Output only. Spec for custom output.
.google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomOutputOrBuilderin interfacePointwiseMetricResultOrBuilder
-