Interface LabelSchemas.InputCategoricalOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    When true, the widget renders multi-select and the assessment value becomes a list of strings.
    getOptions(int index)
    The available options.
    com.google.protobuf.ByteString
    getOptionsBytes(int index)
    The available options.
    int
    The available options.
    The available options.
    boolean
    When true, the widget renders multi-select and the assessment value becomes a list of strings.

    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

    • getOptionsList

      List<String> getOptionsList()
       The available options.
       
      repeated string options = 1;
      Returns:
      A list containing the options.
    • getOptionsCount

      int getOptionsCount()
       The available options.
       
      repeated string options = 1;
      Returns:
      The count of options.
    • getOptions

      String getOptions(int index)
       The available options.
       
      repeated string options = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The options at the given index.
    • getOptionsBytes

      com.google.protobuf.ByteString getOptionsBytes(int index)
       The available options.
       
      repeated string options = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the options at the given index.
    • hasMultiSelect

      boolean hasMultiSelect()
       When true, the widget renders multi-select and the assessment value
       becomes a list of strings. Defaults to false (single-select).
       
      optional bool multi_select = 3;
      Returns:
      Whether the multiSelect field is set.
    • getMultiSelect

      boolean getMultiSelect()
       When true, the widget renders multi-select and the assessment value
       becomes a list of strings. Defaults to false (single-select).
       
      optional bool multi_select = 3;
      Returns:
      The multiSelect.