Class PointwiseMetricResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.PointwiseMetricResult
All Implemented Interfaces:
PointwiseMetricResultOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PointwiseMetricResult extends com.google.protobuf.GeneratedMessage implements PointwiseMetricResultOrBuilder
 Spec for pointwise metric result.
 
Protobuf type google.cloud.aiplatform.v1.PointwiseMetricResult
See Also:
  • Field Details

    • SCORE_FIELD_NUMBER

      public static final int SCORE_FIELD_NUMBER
      See Also:
    • EXPLANATION_FIELD_NUMBER

      public static final int EXPLANATION_FIELD_NUMBER
      See Also:
    • CUSTOM_OUTPUT_FIELD_NUMBER

      public static final int CUSTOM_OUTPUT_FIELD_NUMBER
      See Also:
  • 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
    • hasScore

      public boolean hasScore()
       Output only. Pointwise metric score.
       
      optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasScore in interface PointwiseMetricResultOrBuilder
      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:
      getScore in interface PointwiseMetricResultOrBuilder
      Returns:
      The score.
    • getExplanation

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PointwiseMetricResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PointwiseMetricResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PointwiseMetricResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PointwiseMetricResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PointwiseMetricResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PointwiseMetricResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PointwiseMetricResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PointwiseMetricResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PointwiseMetricResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PointwiseMetricResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PointwiseMetricResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PointwiseMetricResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PointwiseMetricResult.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PointwiseMetricResult.Builder newBuilder()
    • newBuilder

      public static PointwiseMetricResult.Builder newBuilder(PointwiseMetricResult prototype)
    • toBuilder

      public PointwiseMetricResult.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PointwiseMetricResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PointwiseMetricResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PointwiseMetricResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<PointwiseMetricResult> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PointwiseMetricResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder