Package org.mlflow.api.proto
Interface Assessments.ExpectationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Assessments.Expectation
,Assessments.Expectation.Builder
- Enclosing class:
- Assessments
public static interface Assessments.ExpectationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe value of the expecation-based assessment serialized as a string in a specified format.The value of the expecation-based assessment serialized as a string in a specified format.com.google.protobuf.Value
getValue()
The value of the expectation-based assessment.com.google.protobuf.ValueOrBuilder
The value of the expectation-based assessment.boolean
The value of the expecation-based assessment serialized as a string in a specified format.boolean
hasValue()
The value of the expectation-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()The value of the expectation-based assessment. This uses ``google.protobuf.Value`` under the hood to support a flexible schema of expectation values but is validated to constrain it to specific types. This means the value must be JSON conforming to one of the following supported 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) * List values containing only strings (empty lists allowed). Other values like null, structs, non-string lists etc. will be rejected. However, they can instead be serialized as a string and stored in the ``serialized_value`` field instead. Only one of either ``serialized_value`` or ``value`` may be defined. We do not support these other formats directly despite using google.protobuf.Value due to security risks around their serialization and deserialization.
optional .google.protobuf.Value value = 2;
- Returns:
- Whether the value field is set.
-
getValue
com.google.protobuf.Value getValue()The value of the expectation-based assessment. This uses ``google.protobuf.Value`` under the hood to support a flexible schema of expectation values but is validated to constrain it to specific types. This means the value must be JSON conforming to one of the following supported 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) * List values containing only strings (empty lists allowed). Other values like null, structs, non-string lists etc. will be rejected. However, they can instead be serialized as a string and stored in the ``serialized_value`` field instead. Only one of either ``serialized_value`` or ``value`` may be defined. We do not support these other formats directly despite using google.protobuf.Value due to security risks around their serialization and deserialization.
optional .google.protobuf.Value value = 2;
- Returns:
- The value.
-
getValueOrBuilder
com.google.protobuf.ValueOrBuilder getValueOrBuilder()The value of the expectation-based assessment. This uses ``google.protobuf.Value`` under the hood to support a flexible schema of expectation values but is validated to constrain it to specific types. This means the value must be JSON conforming to one of the following supported 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) * List values containing only strings (empty lists allowed). Other values like null, structs, non-string lists etc. will be rejected. However, they can instead be serialized as a string and stored in the ``serialized_value`` field instead. Only one of either ``serialized_value`` or ``value`` may be defined. We do not support these other formats directly despite using google.protobuf.Value due to security risks around their serialization and deserialization.
optional .google.protobuf.Value value = 2;
-
hasSerializedValue
boolean hasSerializedValue()The value of the expecation-based assessment serialized as a string in a specified format. Only one of either ``serialized_value`` or ``value`` may be defined.
optional .mlflow.assessments.Expectation.SerializedValue serialized_value = 3;
- Returns:
- Whether the serializedValue field is set.
-
getSerializedValue
Assessments.Expectation.SerializedValue getSerializedValue()The value of the expecation-based assessment serialized as a string in a specified format. Only one of either ``serialized_value`` or ``value`` may be defined.
optional .mlflow.assessments.Expectation.SerializedValue serialized_value = 3;
- Returns:
- The serializedValue.
-
getSerializedValueOrBuilder
Assessments.Expectation.SerializedValueOrBuilder getSerializedValueOrBuilder()The value of the expecation-based assessment serialized as a string in a specified format. Only one of either ``serialized_value`` or ``value`` may be defined.
optional .mlflow.assessments.Expectation.SerializedValue serialized_value = 3;
-