Interface QuestionAnsweringRelevanceInstanceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
QuestionAnsweringRelevanceInstance, QuestionAnsweringRelevanceInstance.Builder

@Generated public interface QuestionAnsweringRelevanceInstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.
    boolean
    Required.
    boolean
    Required.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPrediction

      boolean hasPrediction()
       Required. Output of the evaluated model.
       
      optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the prediction field is set.
    • getPrediction

      String getPrediction()
       Required. Output of the evaluated model.
       
      optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The prediction.
    • getPredictionBytes

      com.google.protobuf.ByteString getPredictionBytes()
       Required. Output of the evaluated model.
       
      optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for prediction.
    • hasReference

      boolean hasReference()
       Optional. Ground truth used to compare against the prediction.
       
      optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the reference field is set.
    • getReference

      String getReference()
       Optional. Ground truth used to compare against the prediction.
       
      optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The reference.
    • getReferenceBytes

      com.google.protobuf.ByteString getReferenceBytes()
       Optional. Ground truth used to compare against the prediction.
       
      optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for reference.
    • hasContext

      boolean hasContext()
       Optional. Text provided as context to answer the question.
       
      optional string context = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the context field is set.
    • getContext

      String getContext()
       Optional. Text provided as context to answer the question.
       
      optional string context = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The context.
    • getContextBytes

      com.google.protobuf.ByteString getContextBytes()
       Optional. Text provided as context to answer the question.
       
      optional string context = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for context.
    • hasInstruction

      boolean hasInstruction()
       Required. The question asked and other instruction in the inference prompt.
       
      optional string instruction = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the instruction field is set.
    • getInstruction

      String getInstruction()
       Required. The question asked and other instruction in the inference prompt.
       
      optional string instruction = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instruction.
    • getInstructionBytes

      com.google.protobuf.ByteString getInstructionBytes()
       Required. The question asked and other instruction in the inference prompt.
       
      optional string instruction = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for instruction.