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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PairwiseMetricResult.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PairwiseMetricResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PairwiseMetricResult.Builder>
    • getDefaultInstanceForType

      public PairwiseMetricResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PairwiseMetricResult build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PairwiseMetricResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PairwiseMetricResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PairwiseMetricResult.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getPairwiseChoiceValue in interface PairwiseMetricResultOrBuilder
      Returns:
      The enum numeric value on the wire for pairwiseChoice.
    • setPairwiseChoiceValue

      public PairwiseMetricResult.Builder setPairwiseChoiceValue(int value)
       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

      public PairwiseChoice getPairwiseChoice()
       Output only. Pairwise metric choice.
       
      .google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPairwiseChoice in interface PairwiseMetricResultOrBuilder
      Returns:
      The pairwiseChoice.
    • setPairwiseChoice

      public PairwiseMetricResult.Builder setPairwiseChoice(PairwiseChoice value)
       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

      public PairwiseMetricResult.Builder 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

      public String getExplanation()
       Output only. Explanation for pairwise metric score.
       
      string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExplanation in interface PairwiseMetricResultOrBuilder
      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:
      getExplanationBytes in interface PairwiseMetricResultOrBuilder
      Returns:
      The bytes for explanation.
    • setExplanation

      public PairwiseMetricResult.Builder setExplanation(String value)
       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

      public PairwiseMetricResult.Builder clearExplanation()
       Output only. Explanation for pairwise metric score.
       
      string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setExplanationBytes

      public PairwiseMetricResult.Builder setExplanationBytes(com.google.protobuf.ByteString value)
       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:
      hasCustomOutput in interface PairwiseMetricResultOrBuilder
      Returns:
      Whether the customOutput field is set.
    • getCustomOutput

      public CustomOutput getCustomOutput()
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomOutput in interface PairwiseMetricResultOrBuilder
      Returns:
      The customOutput.
    • setCustomOutput

      public PairwiseMetricResult.Builder setCustomOutput(CustomOutput value)
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCustomOutput

      public PairwiseMetricResult.Builder setCustomOutput(CustomOutput.Builder builderForValue)
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCustomOutput

      public PairwiseMetricResult.Builder mergeCustomOutput(CustomOutput value)
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCustomOutput

      public PairwiseMetricResult.Builder clearCustomOutput()
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomOutputBuilder

      public CustomOutput.Builder getCustomOutputBuilder()
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomOutputOrBuilder

      public CustomOutputOrBuilder getCustomOutputOrBuilder()
       Output only. Spec for custom output.
       
      .google.cloud.aiplatform.v1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomOutputOrBuilder in interface PairwiseMetricResultOrBuilder