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 class
Service.TraceInfoV3.Builder
Protobuf typemlflow.TraceInfoV3
static class
Service.TraceInfoV3.State
Execution 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 int
ASSESSMENTS_FIELD_NUMBER
static int
CLIENT_REQUEST_ID_FIELD_NUMBER
static int
EXECUTION_DURATION_FIELD_NUMBER
static com.google.protobuf.Parser<Service.TraceInfoV3>
PARSER
Deprecated.static int
REQUEST_FIELD_NUMBER
static int
REQUEST_PREVIEW_FIELD_NUMBER
static int
REQUEST_TIME_FIELD_NUMBER
static int
RESPONSE_FIELD_NUMBER
static int
RESPONSE_PREVIEW_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
static int
TRACE_ID_FIELD_NUMBER
static int
TRACE_LOCATION_FIELD_NUMBER
static int
TRACE_METADATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsTags(java.lang.String key)
Mutable, user-defined tags for the trace, e.g.boolean
containsTraceMetadata(java.lang.String key)
Metadata associated with the trace.boolean
equals(java.lang.Object obj)
Assessments.Assessment
getAssessments(int index)
repeated .mlflow.assessments.Assessment assessments = 10;
int
getAssessmentsCount()
repeated .mlflow.assessments.Assessment assessments = 10;
java.util.List<Assessments.Assessment>
getAssessmentsList()
repeated .mlflow.assessments.Assessment assessments = 10;
Assessments.AssessmentOrBuilder
getAssessmentsOrBuilder(int index)
repeated .mlflow.assessments.Assessment assessments = 10;
java.util.List<? extends Assessments.AssessmentOrBuilder>
getAssessmentsOrBuilderList()
repeated .mlflow.assessments.Assessment assessments = 10;
java.lang.String
getClientRequestId()
Client supplied request ID associated with the trace.com.google.protobuf.ByteString
getClientRequestIdBytes()
Client supplied request ID associated with the trace.static Service.TraceInfoV3
getDefaultInstance()
Service.TraceInfoV3
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Duration
getExecutionDuration()
Execution time of the tracecom.google.protobuf.DurationOrBuilder
getExecutionDurationOrBuilder()
Execution time of the tracecom.google.protobuf.Parser<Service.TraceInfoV3>
getParserForType()
java.lang.String
getRequest()
[Deprecated, please use `request_preview` instead.] Request to the model/agent.com.google.protobuf.ByteString
getRequestBytes()
[Deprecated, please use `request_preview` instead.] Request to the model/agent.java.lang.String
getRequestPreview()
A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.ByteString
getRequestPreviewBytes()
A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.Timestamp
getRequestTime()
Start time of the tracecom.google.protobuf.TimestampOrBuilder
getRequestTimeOrBuilder()
Start time of the tracejava.lang.String
getResponse()
[Deprecated, please use `request_preview` instead.] Response of the model/agent.com.google.protobuf.ByteString
getResponseBytes()
[Deprecated, please use `request_preview` instead.] Response of the model/agent.java.lang.String
getResponsePreview()
A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.ByteString
getResponsePreviewBytes()
A preview of the request to the model/agent represented as a JSON string.int
getSerializedSize()
Service.TraceInfoV3.State
getState()
optional .mlflow.TraceInfoV3.State state = 8;
java.util.Map<java.lang.String,java.lang.String>
getTags()
Deprecated.int
getTagsCount()
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.String
getTagsOrDefault(java.lang.String key, java.lang.String defaultValue)
Mutable, user-defined tags for the trace, e.g.java.lang.String
getTagsOrThrow(java.lang.String key)
Mutable, user-defined tags for the trace, e.g.java.lang.String
getTraceId()
The primary key associated with the tracecom.google.protobuf.ByteString
getTraceIdBytes()
The primary key associated with the traceService.TraceLocation
getTraceLocation()
optional .mlflow.TraceLocation trace_location = 3;
Service.TraceLocationOrBuilder
getTraceLocationOrBuilder()
optional .mlflow.TraceLocation trace_location = 3;
java.util.Map<java.lang.String,java.lang.String>
getTraceMetadata()
Deprecated.int
getTraceMetadataCount()
Metadata associated with the trace.java.util.Map<java.lang.String,java.lang.String>
getTraceMetadataMap()
Metadata associated with the trace.java.lang.String
getTraceMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
Metadata associated with the trace.java.lang.String
getTraceMetadataOrThrow(java.lang.String key)
Metadata associated with the trace.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasClientRequestId()
Client supplied request ID associated with the trace.boolean
hasExecutionDuration()
Execution time of the traceint
hashCode()
boolean
hasRequest()
[Deprecated, please use `request_preview` instead.] Request to the model/agent.boolean
hasRequestPreview()
A preview of the request to the model/agent represented as a JSON string.boolean
hasRequestTime()
Start time of the traceboolean
hasResponse()
[Deprecated, please use `request_preview` instead.] Response of the model/agent.boolean
hasResponsePreview()
A preview of the request to the model/agent represented as a JSON string.boolean
hasState()
optional .mlflow.TraceInfoV3.State state = 8;
boolean
hasTraceId()
The primary key associated with the traceboolean
hasTraceLocation()
optional .mlflow.TraceLocation trace_location = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Service.TraceInfoV3.Builder
newBuilder()
static Service.TraceInfoV3.Builder
newBuilder(Service.TraceInfoV3 prototype)
Service.TraceInfoV3.Builder
newBuilderForType()
protected Service.TraceInfoV3.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Service.TraceInfoV3
parseDelimitedFrom(java.io.InputStream input)
static Service.TraceInfoV3
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.TraceInfoV3
parseFrom(byte[] data)
static Service.TraceInfoV3
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.TraceInfoV3
parseFrom(com.google.protobuf.ByteString data)
static Service.TraceInfoV3
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.TraceInfoV3
parseFrom(com.google.protobuf.CodedInputStream input)
static Service.TraceInfoV3
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.TraceInfoV3
parseFrom(java.io.InputStream input)
static Service.TraceInfoV3
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.TraceInfoV3
parseFrom(java.nio.ByteBuffer data)
static Service.TraceInfoV3
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Service.TraceInfoV3>
parser()
Service.TraceInfoV3.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasTraceId
public boolean hasTraceId()
The primary key associated with the trace
optional string trace_id = 1;
- Specified by:
hasTraceId
in 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:
getTraceId
in 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:
getTraceIdBytes
in 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:
hasClientRequestId
in 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:
getClientRequestId
in 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:
getClientRequestIdBytes
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- The bytes for clientRequestId.
-
hasTraceLocation
public boolean hasTraceLocation()
optional .mlflow.TraceLocation trace_location = 3;
- Specified by:
hasTraceLocation
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- Whether the traceLocation field is set.
-
getTraceLocation
public Service.TraceLocation getTraceLocation()
optional .mlflow.TraceLocation trace_location = 3;
- Specified by:
getTraceLocation
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- The traceLocation.
-
getTraceLocationOrBuilder
public Service.TraceLocationOrBuilder getTraceLocationOrBuilder()
optional .mlflow.TraceLocation trace_location = 3;
- Specified by:
getTraceLocationOrBuilder
in 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:
hasRequest
in 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:
getRequest
in 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:
getRequestBytes
in 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:
hasResponse
in 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:
getResponse
in 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:
getResponseBytes
in 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:
hasRequestPreview
in 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:
getRequestPreview
in 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:
getRequestPreviewBytes
in 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:
hasResponsePreview
in 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:
getResponsePreview
in 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:
getResponsePreviewBytes
in 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:
hasRequestTime
in 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:
getRequestTime
in 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:
getRequestTimeOrBuilder
in interfaceService.TraceInfoV3OrBuilder
-
hasExecutionDuration
public boolean hasExecutionDuration()
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;
- Specified by:
hasExecutionDuration
in 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:
getExecutionDuration
in 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:
getExecutionDurationOrBuilder
in interfaceService.TraceInfoV3OrBuilder
-
hasState
public boolean hasState()
optional .mlflow.TraceInfoV3.State state = 8;
- Specified by:
hasState
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- Whether the state field is set.
-
getState
public Service.TraceInfoV3.State getState()
optional .mlflow.TraceInfoV3.State state = 8;
- Specified by:
getState
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- The state.
-
getTraceMetadataCount
public int getTraceMetadataCount()
Description copied from interface:Service.TraceInfoV3OrBuilder
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 from
map<string, string> trace_metadata = 9;
- Specified by:
getTraceMetadataCount
in 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 from
map<string, string> trace_metadata = 9;
- Specified by:
containsTraceMetadata
in interfaceService.TraceInfoV3OrBuilder
-
getTraceMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTraceMetadata()
Deprecated.UsegetTraceMetadataMap()
instead.- Specified by:
getTraceMetadata
in 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 from
map<string, string> trace_metadata = 9;
- Specified by:
getTraceMetadataMap
in 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 from
map<string, string> trace_metadata = 9;
- Specified by:
getTraceMetadataOrDefault
in 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 from
map<string, string> trace_metadata = 9;
- Specified by:
getTraceMetadataOrThrow
in interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsList
public java.util.List<Assessments.Assessment> getAssessmentsList()
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsList
in interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsOrBuilderList
public java.util.List<? extends Assessments.AssessmentOrBuilder> getAssessmentsOrBuilderList()
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsOrBuilderList
in interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsCount
public int getAssessmentsCount()
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsCount
in interfaceService.TraceInfoV3OrBuilder
-
getAssessments
public Assessments.Assessment getAssessments(int index)
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessments
in interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsOrBuilder
public Assessments.AssessmentOrBuilder getAssessmentsOrBuilder(int index)
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsOrBuilder
in interfaceService.TraceInfoV3OrBuilder
-
getTagsCount
public int getTagsCount()
Description copied from interface:Service.TraceInfoV3OrBuilder
Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL”
map<string, string> tags = 11;
- Specified by:
getTagsCount
in 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:
containsTags
in interfaceService.TraceInfoV3OrBuilder
-
getTags
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTags()
Deprecated.UsegetTagsMap()
instead.- Specified by:
getTags
in 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:
getTagsMap
in 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:
getTagsOrDefault
in 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:
getTagsOrThrow
in interfaceService.TraceInfoV3OrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.TraceInfoV3.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service.TraceInfoV3 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-