Interface LabelSchemas.InputPassFailOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LabelSchemas.InputPassFail, LabelSchemas.InputPassFail.Builder
Enclosing class:
LabelSchemas

public static interface LabelSchemas.InputPassFailOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Label shown next to the thumbs-down button (e.g., "Incorrect", "Fail").
    com.google.protobuf.ByteString
    Label shown next to the thumbs-down button (e.g., "Incorrect", "Fail").
    Label shown next to the thumbs-up button (e.g., "Correct", "Pass").
    com.google.protobuf.ByteString
    Label shown next to the thumbs-up button (e.g., "Correct", "Pass").
    boolean
    Label shown next to the thumbs-down button (e.g., "Incorrect", "Fail").
    boolean
    Label shown next to the thumbs-up button (e.g., "Correct", "Pass").

    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

    • hasPositiveLabel

      boolean hasPositiveLabel()
       Label shown next to the thumbs-up button (e.g., "Correct", "Pass").
       
      optional string positive_label = 1;
      Returns:
      Whether the positiveLabel field is set.
    • getPositiveLabel

      String getPositiveLabel()
       Label shown next to the thumbs-up button (e.g., "Correct", "Pass").
       
      optional string positive_label = 1;
      Returns:
      The positiveLabel.
    • getPositiveLabelBytes

      com.google.protobuf.ByteString getPositiveLabelBytes()
       Label shown next to the thumbs-up button (e.g., "Correct", "Pass").
       
      optional string positive_label = 1;
      Returns:
      The bytes for positiveLabel.
    • hasNegativeLabel

      boolean hasNegativeLabel()
       Label shown next to the thumbs-down button (e.g., "Incorrect", "Fail").
       
      optional string negative_label = 2;
      Returns:
      Whether the negativeLabel field is set.
    • getNegativeLabel

      String getNegativeLabel()
       Label shown next to the thumbs-down button (e.g., "Incorrect", "Fail").
       
      optional string negative_label = 2;
      Returns:
      The negativeLabel.
    • getNegativeLabelBytes

      com.google.protobuf.ByteString getNegativeLabelBytes()
       Label shown next to the thumbs-down button (e.g., "Incorrect", "Fail").
       
      optional string negative_label = 2;
      Returns:
      The bytes for negativeLabel.