Package org.mlflow.api.proto
Class Service.TraceInfoV3
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.mlflow.api.proto.Service.TraceInfoV3
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Service.TraceInfoV3OrBuilder
- Enclosing class:
- Service
public static final class Service.TraceInfoV3 extends com.google.protobuf.GeneratedMessageV3 implements Service.TraceInfoV3OrBuilder
Protobuf typemlflow.TraceInfoV3- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classService.TraceInfoV3.BuilderProtobuf typemlflow.TraceInfoV3static classService.TraceInfoV3.StateExecution state of the trace at the time that it was logged.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSESSMENTS_FIELD_NUMBERstatic intCLIENT_REQUEST_ID_FIELD_NUMBERstatic intEXECUTION_DURATION_FIELD_NUMBERstatic com.google.protobuf.Parser<Service.TraceInfoV3>PARSERDeprecated.static intREQUEST_FIELD_NUMBERstatic intREQUEST_PREVIEW_FIELD_NUMBERstatic intREQUEST_TIME_FIELD_NUMBERstatic intRESPONSE_FIELD_NUMBERstatic intRESPONSE_PREVIEW_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTRACE_ID_FIELD_NUMBERstatic intTRACE_LOCATION_FIELD_NUMBERstatic intTRACE_METADATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.booleanequals(java.lang.Object obj)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.static Service.TraceInfoV3getDefaultInstance()Service.TraceInfoV3getDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetExecutionDuration()Execution time of the tracecom.google.protobuf.DurationOrBuildergetExecutionDurationOrBuilder()Execution time of the tracecom.google.protobuf.Parser<Service.TraceInfoV3>getParserForType()java.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.intgetSerializedSize()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.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasClientRequestId()Client supplied request ID associated with the trace.booleanhasExecutionDuration()Execution time of the traceinthashCode()booleanhasRequest()[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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Service.TraceInfoV3.BuildernewBuilder()static Service.TraceInfoV3.BuildernewBuilder(Service.TraceInfoV3 prototype)Service.TraceInfoV3.BuildernewBuilderForType()protected Service.TraceInfoV3.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Service.TraceInfoV3parseDelimitedFrom(java.io.InputStream input)static Service.TraceInfoV3parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.TraceInfoV3parseFrom(byte[] data)static Service.TraceInfoV3parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.TraceInfoV3parseFrom(com.google.protobuf.ByteString data)static Service.TraceInfoV3parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.TraceInfoV3parseFrom(com.google.protobuf.CodedInputStream input)static Service.TraceInfoV3parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.TraceInfoV3parseFrom(java.io.InputStream input)static Service.TraceInfoV3parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.TraceInfoV3parseFrom(java.nio.ByteBuffer data)static Service.TraceInfoV3parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Service.TraceInfoV3>parser()Service.TraceInfoV3.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_REQUEST_ID_FIELD_NUMBER
public static final int CLIENT_REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_LOCATION_FIELD_NUMBER
public static final int TRACE_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_PREVIEW_FIELD_NUMBER
public static final int REQUEST_PREVIEW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_PREVIEW_FIELD_NUMBER
public static final int RESPONSE_PREVIEW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_TIME_FIELD_NUMBER
public static final int REQUEST_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_METADATA_FIELD_NUMBER
public static final int TRACE_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSESSMENTS_FIELD_NUMBER
public static final int ASSESSMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Service.TraceInfoV3> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTraceId
public boolean hasTraceId()
The primary key associated with the trace
optional string trace_id = 1;- Specified by:
hasTraceIdin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the traceId field is set.
-
getTraceId
public java.lang.String getTraceId()
The primary key associated with the trace
optional string trace_id = 1;- Specified by:
getTraceIdin interfaceService.TraceInfoV3OrBuilder- Returns:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()
The primary key associated with the trace
optional string trace_id = 1;- Specified by:
getTraceIdBytesin interfaceService.TraceInfoV3OrBuilder- Returns:
- The bytes for traceId.
-
hasClientRequestId
public boolean 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;- Specified by:
hasClientRequestIdin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the clientRequestId field is set.
-
getClientRequestId
public java.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;- Specified by:
getClientRequestIdin interfaceService.TraceInfoV3OrBuilder- Returns:
- The clientRequestId.
-
getClientRequestIdBytes
public com.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;- Specified by:
getClientRequestIdBytesin interfaceService.TraceInfoV3OrBuilder- Returns:
- The bytes for clientRequestId.
-
hasTraceLocation
public boolean hasTraceLocation()
optional .mlflow.TraceLocation trace_location = 3;- Specified by:
hasTraceLocationin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the traceLocation field is set.
-
getTraceLocation
public Service.TraceLocation getTraceLocation()
optional .mlflow.TraceLocation trace_location = 3;- Specified by:
getTraceLocationin interfaceService.TraceInfoV3OrBuilder- Returns:
- The traceLocation.
-
getTraceLocationOrBuilder
public Service.TraceLocationOrBuilder getTraceLocationOrBuilder()
optional .mlflow.TraceLocation trace_location = 3;- Specified by:
getTraceLocationOrBuilderin interfaceService.TraceInfoV3OrBuilder
-
hasRequest
public boolean 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;- Specified by:
hasRequestin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the request field is set.
-
getRequest
public java.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;- Specified by:
getRequestin interfaceService.TraceInfoV3OrBuilder- Returns:
- The request.
-
getRequestBytes
public com.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;- Specified by:
getRequestBytesin interfaceService.TraceInfoV3OrBuilder- Returns:
- The bytes for request.
-
hasResponse
public boolean 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;- Specified by:
hasResponsein interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the response field is set.
-
getResponse
public java.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;- Specified by:
getResponsein interfaceService.TraceInfoV3OrBuilder- Returns:
- The response.
-
getResponseBytes
public com.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;- Specified by:
getResponseBytesin interfaceService.TraceInfoV3OrBuilder- Returns:
- The bytes for response.
-
hasRequestPreview
public boolean 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;- Specified by:
hasRequestPreviewin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the requestPreview field is set.
-
getRequestPreview
public java.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;- Specified by:
getRequestPreviewin interfaceService.TraceInfoV3OrBuilder- Returns:
- The requestPreview.
-
getRequestPreviewBytes
public com.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;- Specified by:
getRequestPreviewBytesin interfaceService.TraceInfoV3OrBuilder- Returns:
- The bytes for requestPreview.
-
hasResponsePreview
public boolean 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;- Specified by:
hasResponsePreviewin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the responsePreview field is set.
-
getResponsePreview
public java.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;- Specified by:
getResponsePreviewin interfaceService.TraceInfoV3OrBuilder- Returns:
- The responsePreview.
-
getResponsePreviewBytes
public com.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;- Specified by:
getResponsePreviewBytesin interfaceService.TraceInfoV3OrBuilder- Returns:
- The bytes for responsePreview.
-
hasRequestTime
public boolean hasRequestTime()
Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;- Specified by:
hasRequestTimein interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the requestTime field is set.
-
getRequestTime
public com.google.protobuf.Timestamp getRequestTime()
Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;- Specified by:
getRequestTimein interfaceService.TraceInfoV3OrBuilder- Returns:
- The requestTime.
-
getRequestTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()
Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;- Specified by:
getRequestTimeOrBuilderin interfaceService.TraceInfoV3OrBuilder
-
hasExecutionDuration
public boolean hasExecutionDuration()
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;- Specified by:
hasExecutionDurationin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public com.google.protobuf.Duration getExecutionDuration()
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;- Specified by:
getExecutionDurationin interfaceService.TraceInfoV3OrBuilder- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;- Specified by:
getExecutionDurationOrBuilderin interfaceService.TraceInfoV3OrBuilder
-
hasState
public boolean hasState()
optional .mlflow.TraceInfoV3.State state = 8;- Specified by:
hasStatein interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the state field is set.
-
getState
public Service.TraceInfoV3.State getState()
optional .mlflow.TraceInfoV3.State state = 8;- Specified by:
getStatein interfaceService.TraceInfoV3OrBuilder- Returns:
- The state.
-
getTraceMetadataCount
public int getTraceMetadataCount()
Description copied from interface:Service.TraceInfoV3OrBuilderMetadata 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;- Specified by:
getTraceMetadataCountin interfaceService.TraceInfoV3OrBuilder
-
containsTraceMetadata
public boolean 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;- Specified by:
containsTraceMetadatain interfaceService.TraceInfoV3OrBuilder
-
getTraceMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTraceMetadata()
Deprecated.UsegetTraceMetadataMap()instead.- Specified by:
getTraceMetadatain interfaceService.TraceInfoV3OrBuilder
-
getTraceMetadataMap
public java.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;- Specified by:
getTraceMetadataMapin interfaceService.TraceInfoV3OrBuilder
-
getTraceMetadataOrDefault
public java.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;- Specified by:
getTraceMetadataOrDefaultin interfaceService.TraceInfoV3OrBuilder
-
getTraceMetadataOrThrow
public java.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;- Specified by:
getTraceMetadataOrThrowin interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsList
public java.util.List<Assessments.Assessment> getAssessmentsList()
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsListin interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsOrBuilderList
public java.util.List<? extends Assessments.AssessmentOrBuilder> getAssessmentsOrBuilderList()
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsOrBuilderListin interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsCount
public int getAssessmentsCount()
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsCountin interfaceService.TraceInfoV3OrBuilder
-
getAssessments
public Assessments.Assessment getAssessments(int index)
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsin interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsOrBuilder
public Assessments.AssessmentOrBuilder getAssessmentsOrBuilder(int index)
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsOrBuilderin interfaceService.TraceInfoV3OrBuilder
-
getTagsCount
public int getTagsCount()
Description copied from interface:Service.TraceInfoV3OrBuilderMutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
getTagsCountin interfaceService.TraceInfoV3OrBuilder
-
containsTags
public boolean containsTags(java.lang.String key)
Mutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
containsTagsin interfaceService.TraceInfoV3OrBuilder
-
getTags
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTags()
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceService.TraceInfoV3OrBuilder
-
getTagsMap
public java.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;- Specified by:
getTagsMapin interfaceService.TraceInfoV3OrBuilder
-
getTagsOrDefault
public java.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;- Specified by:
getTagsOrDefaultin interfaceService.TraceInfoV3OrBuilder
-
getTagsOrThrow
public java.lang.String getTagsOrThrow(java.lang.String key)
Mutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
getTagsOrThrowin interfaceService.TraceInfoV3OrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Service.TraceInfoV3 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.TraceInfoV3 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.TraceInfoV3 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.TraceInfoV3 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Service.TraceInfoV3.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Service.TraceInfoV3.Builder newBuilder()
-
newBuilder
public static Service.TraceInfoV3.Builder newBuilder(Service.TraceInfoV3 prototype)
-
toBuilder
public Service.TraceInfoV3.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.TraceInfoV3.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Service.TraceInfoV3 getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Service.TraceInfoV3> parser()
-
getParserForType
public com.google.protobuf.Parser<Service.TraceInfoV3> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service.TraceInfoV3 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-