Package org.mlflow.api.proto
Interface Assessments.Expectation.SerializedValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Assessments.Expectation.SerializedValue,Assessments.Expectation.SerializedValue.Builder
- Enclosing class:
- Assessments.Expectation
public static interface Assessments.Expectation.SerializedValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSerializationFormat()Marks the serialization format for the expectation value.com.google.protobuf.ByteStringgetSerializationFormatBytes()Marks the serialization format for the expectation value.java.lang.StringgetValue()The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.com.google.protobuf.ByteStringgetValueBytes()The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.booleanhasSerializationFormat()Marks the serialization format for the expectation value.booleanhasValue()The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSerializationFormat
boolean hasSerializationFormat()
Marks the serialization format for the expectation value. This is a contract specific to the client. The service will not attempt to deserialize the value or validate the format. An example format is "JSON_FORMAT".
optional string serialization_format = 1;- Returns:
- Whether the serializationFormat field is set.
-
getSerializationFormat
java.lang.String getSerializationFormat()
Marks the serialization format for the expectation value. This is a contract specific to the client. The service will not attempt to deserialize the value or validate the format. An example format is "JSON_FORMAT".
optional string serialization_format = 1;- Returns:
- The serializationFormat.
-
getSerializationFormatBytes
com.google.protobuf.ByteString getSerializationFormatBytes()
Marks the serialization format for the expectation value. This is a contract specific to the client. The service will not attempt to deserialize the value or validate the format. An example format is "JSON_FORMAT".
optional string serialization_format = 1;- Returns:
- The bytes for serializationFormat.
-
hasValue
boolean hasValue()
The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
java.lang.String getValue()
The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
optional string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
optional string value = 2;- Returns:
- The bytes for value.
-
-