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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSourceId()Identifier for the source.com.google.protobuf.ByteStringgetSourceIdBytes()Identifier for the source.Assessments.AssessmentSource.SourceTypegetSourceType()The type of the source.booleanhasSourceId()Identifier for the source.booleanhasSourceType()The type of the source.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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.
-
-