Package com.google.cloud.aiplatform.v1
Class PairwiseMetricResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PairwiseMetricResult.Builder>
com.google.cloud.aiplatform.v1.PairwiseMetricResult.Builder
- All Implemented Interfaces:
PairwiseMetricResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PairwiseMetricResult
public static final class PairwiseMetricResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PairwiseMetricResult.Builder>
implements PairwiseMetricResultOrBuilder
Spec for pairwise metric result.Protobuf type
google.cloud.aiplatform.v1.PairwiseMetricResult-
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.Output only.intOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCustomOutput(CustomOutput value) Output only.mergeFrom(PairwiseMetricResult 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.setPairwiseChoice(PairwiseChoice value) Output only.setPairwiseChoiceValue(int 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<PairwiseMetricResult.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<PairwiseMetricResult.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<PairwiseMetricResult.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<PairwiseMetricResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PairwiseMetricResult.Builder>
-
mergeFrom
public PairwiseMetricResult.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<PairwiseMetricResult.Builder>- Throws:
IOException
-
getPairwiseChoiceValue
public int getPairwiseChoiceValue()Output only. Pairwise metric choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPairwiseChoiceValuein interfacePairwiseMetricResultOrBuilder- Returns:
- The enum numeric value on the wire for pairwiseChoice.
-
setPairwiseChoiceValue
Output only. Pairwise metric choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for pairwiseChoice to set.- Returns:
- This builder for chaining.
-
getPairwiseChoice
Output only. Pairwise metric choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPairwiseChoicein interfacePairwiseMetricResultOrBuilder- Returns:
- The pairwiseChoice.
-
setPairwiseChoice
Output only. Pairwise metric choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The pairwiseChoice to set.- Returns:
- This builder for chaining.
-
clearPairwiseChoice
Output only. Pairwise metric choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getExplanation
Output only. Explanation for pairwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExplanationin interfacePairwiseMetricResultOrBuilder- Returns:
- The explanation.
-
getExplanationBytes
public com.google.protobuf.ByteString getExplanationBytes()Output only. Explanation for pairwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExplanationBytesin interfacePairwiseMetricResultOrBuilder- Returns:
- The bytes for explanation.
-
setExplanation
Output only. Explanation for pairwise 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 pairwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setExplanationBytes
Output only. Explanation for pairwise 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 interfacePairwiseMetricResultOrBuilder- 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 interfacePairwiseMetricResultOrBuilder- 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 interfacePairwiseMetricResultOrBuilder
-