Package org.mlflow.api.proto
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 TypeMethodDescriptionbooleanWhen true, the widget renders multi-select and the assessment value becomes a list of strings.getOptions(int index) The available options.com.google.protobuf.ByteStringgetOptionsBytes(int index) The available options.intThe available options.The available options.booleanWhen true, the widget renders multi-select and the assessment value becomes a list of strings.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.
-