Package org.mlflow.api.proto
Interface Assessments.FeedbackOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Assessments.Feedback
,Assessments.Feedback.Builder
- Enclosing class:
- Assessments
public static interface Assessments.FeedbackOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
An error encountered while generating the feedback.An error encountered while generating the feedback.com.google.protobuf.Value
getValue()
Value of the feedback-based assessment.com.google.protobuf.ValueOrBuilder
Value of the feedback-based assessment.boolean
hasError()
An error encountered while generating the feedback.boolean
hasValue()
Value of the feedback-based assessment.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
-
hasValue
boolean hasValue()Value of the feedback-based assessment. We use google.protobuf.Value to support a flexible schema of feedback values. Supported initial types: - Numeric values like integers or floats - Boolean values - Text value (can contain json text the user wishes to store, but it will only be searchable as text) - Non-empty list values containing only strings - Other values like structs, non-string lists etc. will be rejected for now
optional .google.protobuf.Value value = 2;
- Returns:
- Whether the value field is set.
-
getValue
com.google.protobuf.Value getValue()Value of the feedback-based assessment. We use google.protobuf.Value to support a flexible schema of feedback values. Supported initial types: - Numeric values like integers or floats - Boolean values - Text value (can contain json text the user wishes to store, but it will only be searchable as text) - Non-empty list values containing only strings - Other values like structs, non-string lists etc. will be rejected for now
optional .google.protobuf.Value value = 2;
- Returns:
- The value.
-
getValueOrBuilder
com.google.protobuf.ValueOrBuilder getValueOrBuilder()Value of the feedback-based assessment. We use google.protobuf.Value to support a flexible schema of feedback values. Supported initial types: - Numeric values like integers or floats - Boolean values - Text value (can contain json text the user wishes to store, but it will only be searchable as text) - Non-empty list values containing only strings - Other values like structs, non-string lists etc. will be rejected for now
optional .google.protobuf.Value value = 2;
-
hasError
boolean hasError()An error encountered while generating the feedback. Required if value is set to null.
optional .mlflow.assessments.AssessmentError error = 3;
- Returns:
- Whether the error field is set.
-
getError
Assessments.AssessmentError getError()An error encountered while generating the feedback. Required if value is set to null.
optional .mlflow.assessments.AssessmentError error = 3;
- Returns:
- The error.
-
getErrorOrBuilder
Assessments.AssessmentErrorOrBuilder getErrorOrBuilder()An error encountered while generating the feedback. Required if value is set to null.
optional .mlflow.assessments.AssessmentError error = 3;
-