Package org.mlflow.api.proto
Interface Service.TraceInfoV3OrBuilder
- 
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder
 - All Known Implementing Classes:
- Service.TraceInfoV3,- Service.TraceInfoV3.Builder
 - Enclosing class:
- Service
 
 public static interface Service.TraceInfoV3OrBuilder extends com.google.protobuf.MessageOrBuilder
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsTags(java.lang.String key)Mutable, user-defined tags for the trace, e.g.booleancontainsTraceMetadata(java.lang.String key)Metadata associated with the trace.Assessments.AssessmentgetAssessments(int index)repeated .mlflow.assessments.Assessment assessments = 10;intgetAssessmentsCount()repeated .mlflow.assessments.Assessment assessments = 10;java.util.List<Assessments.Assessment>getAssessmentsList()repeated .mlflow.assessments.Assessment assessments = 10;Assessments.AssessmentOrBuildergetAssessmentsOrBuilder(int index)repeated .mlflow.assessments.Assessment assessments = 10;java.util.List<? extends Assessments.AssessmentOrBuilder>getAssessmentsOrBuilderList()repeated .mlflow.assessments.Assessment assessments = 10;java.lang.StringgetClientRequestId()Client supplied request ID associated with the trace.com.google.protobuf.ByteStringgetClientRequestIdBytes()Client supplied request ID associated with the trace.com.google.protobuf.DurationgetExecutionDuration()Execution time of the tracecom.google.protobuf.DurationOrBuildergetExecutionDurationOrBuilder()Execution time of the tracejava.lang.StringgetRequest()[Deprecated, please use `request_preview` instead.] Request to the model/agent.com.google.protobuf.ByteStringgetRequestBytes()[Deprecated, please use `request_preview` instead.] Request to the model/agent.java.lang.StringgetRequestPreview()A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.ByteStringgetRequestPreviewBytes()A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.TimestampgetRequestTime()Start time of the tracecom.google.protobuf.TimestampOrBuildergetRequestTimeOrBuilder()Start time of the tracejava.lang.StringgetResponse()[Deprecated, please use `request_preview` instead.] Response of the model/agent.com.google.protobuf.ByteStringgetResponseBytes()[Deprecated, please use `request_preview` instead.] Response of the model/agent.java.lang.StringgetResponsePreview()A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.ByteStringgetResponsePreviewBytes()A preview of the request to the model/agent represented as a JSON string.Service.TraceInfoV3.StategetState()optional .mlflow.TraceInfoV3.State state = 8;java.util.Map<java.lang.String,java.lang.String>getTags()Deprecated.intgetTagsCount()Mutable, user-defined tags for the trace, e.g.java.util.Map<java.lang.String,java.lang.String>getTagsMap()Mutable, user-defined tags for the trace, e.g.java.lang.StringgetTagsOrDefault(java.lang.String key, java.lang.String defaultValue)Mutable, user-defined tags for the trace, e.g.java.lang.StringgetTagsOrThrow(java.lang.String key)Mutable, user-defined tags for the trace, e.g.java.lang.StringgetTraceId()The primary key associated with the tracecom.google.protobuf.ByteStringgetTraceIdBytes()The primary key associated with the traceService.TraceLocationgetTraceLocation()optional .mlflow.TraceLocation trace_location = 3;Service.TraceLocationOrBuildergetTraceLocationOrBuilder()optional .mlflow.TraceLocation trace_location = 3;java.util.Map<java.lang.String,java.lang.String>getTraceMetadata()Deprecated.intgetTraceMetadataCount()Metadata associated with the trace.java.util.Map<java.lang.String,java.lang.String>getTraceMetadataMap()Metadata associated with the trace.java.lang.StringgetTraceMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)Metadata associated with the trace.java.lang.StringgetTraceMetadataOrThrow(java.lang.String key)Metadata associated with the trace.booleanhasClientRequestId()Client supplied request ID associated with the trace.booleanhasExecutionDuration()Execution time of the tracebooleanhasRequest()[Deprecated, please use `request_preview` instead.] Request to the model/agent.booleanhasRequestPreview()A preview of the request to the model/agent represented as a JSON string.booleanhasRequestTime()Start time of the tracebooleanhasResponse()[Deprecated, please use `request_preview` instead.] Response of the model/agent.booleanhasResponsePreview()A preview of the request to the model/agent represented as a JSON string.booleanhasState()optional .mlflow.TraceInfoV3.State state = 8;booleanhasTraceId()The primary key associated with the tracebooleanhasTraceLocation()optional .mlflow.TraceLocation trace_location = 3;- 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasTraceIdboolean hasTraceId() The primary key associated with the trace optional string trace_id = 1;- Returns:
- Whether the traceId field is set.
 
 - 
getTraceIdjava.lang.String getTraceId() The primary key associated with the trace optional string trace_id = 1;- Returns:
- The traceId.
 
 - 
getTraceIdBytescom.google.protobuf.ByteString getTraceIdBytes() The primary key associated with the trace optional string trace_id = 1;- Returns:
- The bytes for traceId.
 
 - 
hasClientRequestIdboolean hasClientRequestId() Client supplied request ID associated with the trace. This could be used to identify the trace/request from an external system that produced the trace. optional string client_request_id = 2;- Returns:
- Whether the clientRequestId field is set.
 
 - 
getClientRequestIdjava.lang.String getClientRequestId() Client supplied request ID associated with the trace. This could be used to identify the trace/request from an external system that produced the trace. optional string client_request_id = 2;- Returns:
- The clientRequestId.
 
 - 
getClientRequestIdBytescom.google.protobuf.ByteString getClientRequestIdBytes() Client supplied request ID associated with the trace. This could be used to identify the trace/request from an external system that produced the trace. optional string client_request_id = 2;- Returns:
- The bytes for clientRequestId.
 
 - 
hasTraceLocationboolean hasTraceLocation() optional .mlflow.TraceLocation trace_location = 3;- Returns:
- Whether the traceLocation field is set.
 
 - 
getTraceLocationService.TraceLocation getTraceLocation() optional .mlflow.TraceLocation trace_location = 3;- Returns:
- The traceLocation.
 
 - 
getTraceLocationOrBuilderService.TraceLocationOrBuilder getTraceLocationOrBuilder() optional .mlflow.TraceLocation trace_location = 3;
 - 
hasRequestboolean hasRequest() [Deprecated, please use `request_preview` instead.] Request to the model/agent. Equivalent to the input of the root span but added for ease of access. Represented as a JSON string. optional string request = 4;- Returns:
- Whether the request field is set.
 
 - 
getRequestjava.lang.String getRequest() [Deprecated, please use `request_preview` instead.] Request to the model/agent. Equivalent to the input of the root span but added for ease of access. Represented as a JSON string. optional string request = 4;- Returns:
- The request.
 
 - 
getRequestBytescom.google.protobuf.ByteString getRequestBytes() [Deprecated, please use `request_preview` instead.] Request to the model/agent. Equivalent to the input of the root span but added for ease of access. Represented as a JSON string. optional string request = 4;- Returns:
- The bytes for request.
 
 - 
hasResponseboolean hasResponse() [Deprecated, please use `request_preview` instead.] Response of the model/agent. Equivalent to the output of the root span but added for ease of access. Represented as a JSON string. optional string response = 5;- Returns:
- Whether the response field is set.
 
 - 
getResponsejava.lang.String getResponse() [Deprecated, please use `request_preview` instead.] Response of the model/agent. Equivalent to the output of the root span but added for ease of access. Represented as a JSON string. optional string response = 5;- Returns:
- The response.
 
 - 
getResponseBytescom.google.protobuf.ByteString getResponseBytes() [Deprecated, please use `request_preview` instead.] Response of the model/agent. Equivalent to the output of the root span but added for ease of access. Represented as a JSON string. optional string response = 5;- Returns:
- The bytes for response.
 
 - 
hasRequestPreviewboolean hasRequestPreview() A preview of the request to the model/agent represented as a JSON string. This is equivalent to the input of the root span. This preview value is truncated to 10KB while the full request is stored in the trace data in blob storage. optional string request_preview = 12;- Returns:
- Whether the requestPreview field is set.
 
 - 
getRequestPreviewjava.lang.String getRequestPreview() A preview of the request to the model/agent represented as a JSON string. This is equivalent to the input of the root span. This preview value is truncated to 10KB while the full request is stored in the trace data in blob storage. optional string request_preview = 12;- Returns:
- The requestPreview.
 
 - 
getRequestPreviewBytescom.google.protobuf.ByteString getRequestPreviewBytes() A preview of the request to the model/agent represented as a JSON string. This is equivalent to the input of the root span. This preview value is truncated to 10KB while the full request is stored in the trace data in blob storage. optional string request_preview = 12;- Returns:
- The bytes for requestPreview.
 
 - 
hasResponsePreviewboolean hasResponsePreview() A preview of the request to the model/agent represented as a JSON string. This is equivalent to the output of the root span. This preview value is truncated to 10KB while the full response is stored in the trace data in blob storage. optional string response_preview = 13;- Returns:
- Whether the responsePreview field is set.
 
 - 
getResponsePreviewjava.lang.String getResponsePreview() A preview of the request to the model/agent represented as a JSON string. This is equivalent to the output of the root span. This preview value is truncated to 10KB while the full response is stored in the trace data in blob storage. optional string response_preview = 13;- Returns:
- The responsePreview.
 
 - 
getResponsePreviewBytescom.google.protobuf.ByteString getResponsePreviewBytes() A preview of the request to the model/agent represented as a JSON string. This is equivalent to the output of the root span. This preview value is truncated to 10KB while the full response is stored in the trace data in blob storage. optional string response_preview = 13;- Returns:
- The bytes for responsePreview.
 
 - 
hasRequestTimeboolean hasRequestTime() Start time of the trace optional .google.protobuf.Timestamp request_time = 6;- Returns:
- Whether the requestTime field is set.
 
 - 
getRequestTimecom.google.protobuf.Timestamp getRequestTime() Start time of the trace optional .google.protobuf.Timestamp request_time = 6;- Returns:
- The requestTime.
 
 - 
getRequestTimeOrBuildercom.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() Start time of the trace optional .google.protobuf.Timestamp request_time = 6;
 - 
hasExecutionDurationboolean hasExecutionDuration() Execution time of the trace optional .google.protobuf.Duration execution_duration = 7;- Returns:
- Whether the executionDuration field is set.
 
 - 
getExecutionDurationcom.google.protobuf.Duration getExecutionDuration() Execution time of the trace optional .google.protobuf.Duration execution_duration = 7;- Returns:
- The executionDuration.
 
 - 
getExecutionDurationOrBuildercom.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() Execution time of the trace optional .google.protobuf.Duration execution_duration = 7;
 - 
hasStateboolean hasState() optional .mlflow.TraceInfoV3.State state = 8;- Returns:
- Whether the state field is set.
 
 - 
getStateService.TraceInfoV3.State getState() optional .mlflow.TraceInfoV3.State state = 8;- Returns:
- The state.
 
 - 
getTraceMetadataCountint getTraceMetadataCount() Metadata associated with the trace. Examples include: - run_id: The ID of the mlflow Run (i.e. evaluation job) that produced the trace. May not be applicable in certain situations such as if the trace was created via interactive vibe checks) - model_id: The ID of the associated model that produced the trace. - dataset_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - dataset_record_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - session_id: The ID of the session (e.g. chat conversation) where the request came frommap<string, string> trace_metadata = 9;
 - 
containsTraceMetadataboolean containsTraceMetadata(java.lang.String key) Metadata associated with the trace. Examples include: - run_id: The ID of the mlflow Run (i.e. evaluation job) that produced the trace. May not be applicable in certain situations such as if the trace was created via interactive vibe checks) - model_id: The ID of the associated model that produced the trace. - dataset_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - dataset_record_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - session_id: The ID of the session (e.g. chat conversation) where the request came frommap<string, string> trace_metadata = 9;
 - 
getTraceMetadata@Deprecated java.util.Map<java.lang.String,java.lang.String> getTraceMetadata() Deprecated.UsegetTraceMetadataMap()instead.
 - 
getTraceMetadataMapjava.util.Map<java.lang.String,java.lang.String> getTraceMetadataMap() Metadata associated with the trace. Examples include: - run_id: The ID of the mlflow Run (i.e. evaluation job) that produced the trace. May not be applicable in certain situations such as if the trace was created via interactive vibe checks) - model_id: The ID of the associated model that produced the trace. - dataset_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - dataset_record_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - session_id: The ID of the session (e.g. chat conversation) where the request came frommap<string, string> trace_metadata = 9;
 - 
getTraceMetadataOrDefaultjava.lang.String getTraceMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)Metadata associated with the trace. Examples include: - run_id: The ID of the mlflow Run (i.e. evaluation job) that produced the trace. May not be applicable in certain situations such as if the trace was created via interactive vibe checks) - model_id: The ID of the associated model that produced the trace. - dataset_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - dataset_record_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - session_id: The ID of the session (e.g. chat conversation) where the request came frommap<string, string> trace_metadata = 9;
 - 
getTraceMetadataOrThrowjava.lang.String getTraceMetadataOrThrow(java.lang.String key) Metadata associated with the trace. Examples include: - run_id: The ID of the mlflow Run (i.e. evaluation job) that produced the trace. May not be applicable in certain situations such as if the trace was created via interactive vibe checks) - model_id: The ID of the associated model that produced the trace. - dataset_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - dataset_record_id: The ID of the mlflow Dataset (usually used together with dataset_record_id) - session_id: The ID of the session (e.g. chat conversation) where the request came frommap<string, string> trace_metadata = 9;
 - 
getAssessmentsListjava.util.List<Assessments.Assessment> getAssessmentsList() repeated .mlflow.assessments.Assessment assessments = 10;
 - 
getAssessmentsAssessments.Assessment getAssessments(int index) repeated .mlflow.assessments.Assessment assessments = 10;
 - 
getAssessmentsCountint getAssessmentsCount() repeated .mlflow.assessments.Assessment assessments = 10;
 - 
getAssessmentsOrBuilderListjava.util.List<? extends Assessments.AssessmentOrBuilder> getAssessmentsOrBuilderList() repeated .mlflow.assessments.Assessment assessments = 10;
 - 
getAssessmentsOrBuilderAssessments.AssessmentOrBuilder getAssessmentsOrBuilder(int index) repeated .mlflow.assessments.Assessment assessments = 10;
 - 
getTagsCountint getTagsCount() Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL” map<string, string> tags = 11;
 - 
containsTagsboolean containsTags(java.lang.String key) Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL” map<string, string> tags = 11;
 - 
getTags@Deprecated java.util.Map<java.lang.String,java.lang.String> getTags() Deprecated.UsegetTagsMap()instead.
 - 
getTagsMapjava.util.Map<java.lang.String,java.lang.String> getTagsMap() Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL” map<string, string> tags = 11;
 - 
getTagsOrDefaultjava.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue)Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL” map<string, string> tags = 11;
 - 
getTagsOrThrowjava.lang.String getTagsOrThrow(java.lang.String key) Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL” map<string, string> tags = 11;
 
- 
 
-