Package org.mlflow.api.proto
Class Assessments.Expectation.Builder
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite.Builder
- 
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
- 
- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
- 
- org.mlflow.api.proto.Assessments.Expectation.Builder
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder,- com.google.protobuf.MessageLite.Builder,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- java.lang.Cloneable,- Assessments.ExpectationOrBuilder
 - Enclosing class:
- Assessments.Expectation
 
 public static final class Assessments.Expectation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder> implements Assessments.ExpectationOrBuilder An expectation for the values or guidelines for the outputs that a model or agent should produce from the inputs contained in the trace. Protobuf typemlflow.assessments.Expectation
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Assessments.Expectation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Assessments.Expectationbuild()Assessments.ExpectationbuildPartial()Assessments.Expectation.Builderclear()Assessments.Expectation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Assessments.Expectation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Assessments.Expectation.BuilderclearSerializedValue()The value of the expecation-based assessment serialized as a string in a specified format.Assessments.Expectation.BuilderclearValue()The value of the expectation-based assessment.Assessments.Expectation.Builderclone()Assessments.ExpectationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Assessments.Expectation.SerializedValuegetSerializedValue()The value of the expecation-based assessment serialized as a string in a specified format.Assessments.Expectation.SerializedValue.BuildergetSerializedValueBuilder()The value of the expecation-based assessment serialized as a string in a specified format.Assessments.Expectation.SerializedValueOrBuildergetSerializedValueOrBuilder()The value of the expecation-based assessment serialized as a string in a specified format.com.google.protobuf.ValuegetValue()The value of the expectation-based assessment.com.google.protobuf.Value.BuildergetValueBuilder()The value of the expectation-based assessment.com.google.protobuf.ValueOrBuildergetValueOrBuilder()The value of the expectation-based assessment.booleanhasSerializedValue()The value of the expecation-based assessment serialized as a string in a specified format.booleanhasValue()The value of the expectation-based assessment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Assessments.Expectation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Assessments.Expectation.BuildermergeFrom(com.google.protobuf.Message other)Assessments.Expectation.BuildermergeFrom(Assessments.Expectation other)Assessments.Expectation.BuildermergeSerializedValue(Assessments.Expectation.SerializedValue value)The value of the expecation-based assessment serialized as a string in a specified format.Assessments.Expectation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Assessments.Expectation.BuildermergeValue(com.google.protobuf.Value value)The value of the expectation-based assessment.Assessments.Expectation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Assessments.Expectation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Assessments.Expectation.BuildersetSerializedValue(Assessments.Expectation.SerializedValue value)The value of the expecation-based assessment serialized as a string in a specified format.Assessments.Expectation.BuildersetSerializedValue(Assessments.Expectation.SerializedValue.Builder builderForValue)The value of the expecation-based assessment serialized as a string in a specified format.Assessments.Expectation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Assessments.Expectation.BuildersetValue(com.google.protobuf.Value value)The value of the expectation-based assessment.Assessments.Expectation.BuildersetValue(com.google.protobuf.Value.Builder builderForValue)The value of the expectation-based assessment.- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3.BuildergetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
 - 
Methods inherited from class com.google.protobuf.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeFrom, newUninitializedMessageException
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
clearpublic Assessments.Expectation.Builder clear() - Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
getDefaultInstanceForTypepublic Assessments.Expectation getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 - 
buildpublic Assessments.Expectation build() - Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
 - 
buildPartialpublic Assessments.Expectation buildPartial() - Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
 - 
clonepublic Assessments.Expectation.Builder clone() - Specified by:
- clonein interface- com.google.protobuf.Message.Builder
- Specified by:
- clonein interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clonein class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
setFieldpublic Assessments.Expectation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- setFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
clearFieldpublic Assessments.Expectation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
- clearFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
clearOneofpublic Assessments.Expectation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
- clearOneofin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearOneofin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
setRepeatedFieldpublic Assessments.Expectation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) - Specified by:
- setRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
addRepeatedFieldpublic Assessments.Expectation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- addRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- addRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
mergeFrompublic Assessments.Expectation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<Assessments.Expectation.Builder>
 
 - 
mergeFrompublic Assessments.Expectation.Builder mergeFrom(Assessments.Expectation other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
mergeFrompublic Assessments.Expectation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<Assessments.Expectation.Builder>
- Throws:
- java.io.IOException
 
 - 
hasValuepublic 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;- Specified by:
- hasValuein interface- Assessments.ExpectationOrBuilder
- Returns:
- Whether the value field is set.
 
 - 
getValuepublic 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;- Specified by:
- getValuein interface- Assessments.ExpectationOrBuilder
- Returns:
- The value.
 
 - 
setValuepublic Assessments.Expectation.Builder setValue(com.google.protobuf.Value value) 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;
 - 
setValuepublic Assessments.Expectation.Builder setValue(com.google.protobuf.Value.Builder builderForValue) 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;
 - 
mergeValuepublic Assessments.Expectation.Builder mergeValue(com.google.protobuf.Value value) 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;
 - 
clearValuepublic Assessments.Expectation.Builder clearValue() 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;
 - 
getValueBuilderpublic com.google.protobuf.Value.Builder getValueBuilder() 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;
 - 
getValueOrBuilderpublic 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;- Specified by:
- getValueOrBuilderin interface- Assessments.ExpectationOrBuilder
 
 - 
hasSerializedValuepublic 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;- Specified by:
- hasSerializedValuein interface- Assessments.ExpectationOrBuilder
- Returns:
- Whether the serializedValue field is set.
 
 - 
getSerializedValuepublic 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;- Specified by:
- getSerializedValuein interface- Assessments.ExpectationOrBuilder
- Returns:
- The serializedValue.
 
 - 
setSerializedValuepublic Assessments.Expectation.Builder setSerializedValue(Assessments.Expectation.SerializedValue value) 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;
 - 
setSerializedValuepublic Assessments.Expectation.Builder setSerializedValue(Assessments.Expectation.SerializedValue.Builder builderForValue) 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;
 - 
mergeSerializedValuepublic Assessments.Expectation.Builder mergeSerializedValue(Assessments.Expectation.SerializedValue value) 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;
 - 
clearSerializedValuepublic Assessments.Expectation.Builder clearSerializedValue() 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;
 - 
getSerializedValueBuilderpublic Assessments.Expectation.SerializedValue.Builder getSerializedValueBuilder() 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;
 - 
getSerializedValueOrBuilderpublic 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;- Specified by:
- getSerializedValueOrBuilderin interface- Assessments.ExpectationOrBuilder
 
 - 
setUnknownFieldspublic final Assessments.Expectation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- setUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- setUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 - 
mergeUnknownFieldspublic final Assessments.Expectation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- mergeUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Expectation.Builder>
 
 
- 
 
-