Interface GroundednessInstanceOrBuilder

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

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

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

    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.
    • hasContext

      boolean hasContext()
       Required. Background information provided in context used to compare
       against the prediction.
       
      optional string context = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the context field is set.
    • getContext

      String getContext()
       Required. Background information provided in context used to compare
       against the prediction.
       
      optional string context = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The context.
    • getContextBytes

      com.google.protobuf.ByteString getContextBytes()
       Required. Background information provided in context used to compare
       against the prediction.
       
      optional string context = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for context.