Package org.mlflow.api.proto
Interface Assessments.AssessmentSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Assessments.AssessmentSource
,Assessments.AssessmentSource.Builder
- Enclosing class:
- Assessments
public static interface Assessments.AssessmentSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIdentifier for the source.com.google.protobuf.ByteString
Identifier for the source.The type of the source.boolean
Identifier for the source.boolean
The type of the source.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
-
hasSourceType
boolean hasSourceType()The type of the source.
optional .mlflow.assessments.AssessmentSource.SourceType source_type = 1 [(.mlflow.validate_required) = true];
- Returns:
- Whether the sourceType field is set.
-
getSourceType
Assessments.AssessmentSource.SourceType getSourceType()The type of the source.
optional .mlflow.assessments.AssessmentSource.SourceType source_type = 1 [(.mlflow.validate_required) = true];
- Returns:
- The sourceType.
-
hasSourceId
boolean hasSourceId()Identifier for the source. Example: For human -> user name; for LLM judge -> judge source (databricks or custom); for code -> empty.
optional string source_id = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the sourceId field is set.
-
getSourceId
String getSourceId()Identifier for the source. Example: For human -> user name; for LLM judge -> judge source (databricks or custom); for code -> empty.
optional string source_id = 2 [(.mlflow.validate_required) = true];
- Returns:
- The sourceId.
-
getSourceIdBytes
com.google.protobuf.ByteString getSourceIdBytes()Identifier for the source. Example: For human -> user name; for LLM judge -> judge source (databricks or custom); for code -> empty.
optional string source_id = 2 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for sourceId.
-