Package org.mlflow.api.proto
Class Service.TraceInfoV3.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
org.mlflow.api.proto.Service.TraceInfoV3.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.TraceInfoV3OrBuilder
- Enclosing class:
- Service.TraceInfoV3
public static final class Service.TraceInfoV3.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
implements Service.TraceInfoV3OrBuilder
Protobuf type
mlflow.TraceInfoV3
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAssessments
(Iterable<? extends Assessments.Assessment> values) repeated .mlflow.assessments.Assessment assessments = 10;
addAssessments
(int index, Assessments.Assessment value) repeated .mlflow.assessments.Assessment assessments = 10;
addAssessments
(int index, Assessments.Assessment.Builder builderForValue) repeated .mlflow.assessments.Assessment assessments = 10;
repeated .mlflow.assessments.Assessment assessments = 10;
addAssessments
(Assessments.Assessment.Builder builderForValue) repeated .mlflow.assessments.Assessment assessments = 10;
repeated .mlflow.assessments.Assessment assessments = 10;
addAssessmentsBuilder
(int index) repeated .mlflow.assessments.Assessment assessments = 10;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .mlflow.assessments.Assessment assessments = 10;
Client supplied request ID associated with the trace.Execution time of the traceclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) [Deprecated, please use `request_preview` instead.] Request to the model/agent.A preview of the request to the model/agent represented as a JSON string.Start time of the trace[Deprecated, please use `request_preview` instead.] Response of the model/agent.A preview of the request to the model/agent represented as a JSON string.optional .mlflow.TraceInfoV3.State state = 8;
The primary key associated with the traceoptional .mlflow.TraceLocation trace_location = 3;
clone()
boolean
containsTags
(String key) Mutable, user-defined tags for the trace, e.g.boolean
Metadata associated with the trace.getAssessments
(int index) repeated .mlflow.assessments.Assessment assessments = 10;
getAssessmentsBuilder
(int index) repeated .mlflow.assessments.Assessment assessments = 10;
repeated .mlflow.assessments.Assessment assessments = 10;
int
repeated .mlflow.assessments.Assessment assessments = 10;
repeated .mlflow.assessments.Assessment assessments = 10;
getAssessmentsOrBuilder
(int index) repeated .mlflow.assessments.Assessment assessments = 10;
List<? extends Assessments.AssessmentOrBuilder>
repeated .mlflow.assessments.Assessment assessments = 10;
Client supplied request ID associated with the trace.com.google.protobuf.ByteString
Client supplied request ID associated with the trace.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Duration
Execution time of the tracecom.google.protobuf.Duration.Builder
Execution time of the tracecom.google.protobuf.DurationOrBuilder
Execution time of the traceDeprecated.Deprecated.[Deprecated, please use `request_preview` instead.] Request to the model/agent.com.google.protobuf.ByteString
[Deprecated, please use `request_preview` instead.] Request to the model/agent.A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.ByteString
A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.Timestamp
Start time of the tracecom.google.protobuf.Timestamp.Builder
Start time of the tracecom.google.protobuf.TimestampOrBuilder
Start time of the trace[Deprecated, please use `request_preview` instead.] Response of the model/agent.com.google.protobuf.ByteString
[Deprecated, please use `request_preview` instead.] Response of the model/agent.A preview of the request to the model/agent represented as a JSON string.com.google.protobuf.ByteString
A preview of the request to the model/agent represented as a JSON string.getState()
optional .mlflow.TraceInfoV3.State state = 8;
getTags()
Deprecated.int
Mutable, user-defined tags for the trace, e.g.Mutable, user-defined tags for the trace, e.g.getTagsOrDefault
(String key, String defaultValue) Mutable, user-defined tags for the trace, e.g.getTagsOrThrow
(String key) Mutable, user-defined tags for the trace, e.g.The primary key associated with the tracecom.google.protobuf.ByteString
The primary key associated with the traceoptional .mlflow.TraceLocation trace_location = 3;
optional .mlflow.TraceLocation trace_location = 3;
optional .mlflow.TraceLocation trace_location = 3;
Deprecated.int
Metadata associated with the trace.Metadata associated with the trace.getTraceMetadataOrDefault
(String key, String defaultValue) Metadata associated with the trace.Metadata associated with the trace.boolean
Client supplied request ID associated with the trace.boolean
Execution time of the traceboolean
[Deprecated, please use `request_preview` instead.] Request to the model/agent.boolean
A preview of the request to the model/agent represented as a JSON string.boolean
Start time of the traceboolean
[Deprecated, please use `request_preview` instead.] Response of the model/agent.boolean
A preview of the request to the model/agent represented as a JSON string.boolean
hasState()
optional .mlflow.TraceInfoV3.State state = 8;
boolean
The primary key associated with the traceboolean
optional .mlflow.TraceLocation trace_location = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeExecutionDuration
(com.google.protobuf.Duration value) Execution time of the tracemergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Service.TraceInfoV3 other) mergeRequestTime
(com.google.protobuf.Timestamp value) Start time of the traceoptional .mlflow.TraceLocation trace_location = 3;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllTags
(Map<String, String> values) Mutable, user-defined tags for the trace, e.g.putAllTraceMetadata
(Map<String, String> values) Metadata associated with the trace.Mutable, user-defined tags for the trace, e.g.putTraceMetadata
(String key, String value) Metadata associated with the trace.removeAssessments
(int index) repeated .mlflow.assessments.Assessment assessments = 10;
removeTags
(String key) Mutable, user-defined tags for the trace, e.g.Metadata associated with the trace.setAssessments
(int index, Assessments.Assessment value) repeated .mlflow.assessments.Assessment assessments = 10;
setAssessments
(int index, Assessments.Assessment.Builder builderForValue) repeated .mlflow.assessments.Assessment assessments = 10;
setClientRequestId
(String value) Client supplied request ID associated with the trace.setClientRequestIdBytes
(com.google.protobuf.ByteString value) Client supplied request ID associated with the trace.setExecutionDuration
(com.google.protobuf.Duration value) Execution time of the tracesetExecutionDuration
(com.google.protobuf.Duration.Builder builderForValue) Execution time of the tracesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequest
(String value) [Deprecated, please use `request_preview` instead.] Request to the model/agent.setRequestBytes
(com.google.protobuf.ByteString value) [Deprecated, please use `request_preview` instead.] Request to the model/agent.setRequestPreview
(String value) A preview of the request to the model/agent represented as a JSON string.setRequestPreviewBytes
(com.google.protobuf.ByteString value) A preview of the request to the model/agent represented as a JSON string.setRequestTime
(com.google.protobuf.Timestamp value) Start time of the tracesetRequestTime
(com.google.protobuf.Timestamp.Builder builderForValue) Start time of the tracesetResponse
(String value) [Deprecated, please use `request_preview` instead.] Response of the model/agent.setResponseBytes
(com.google.protobuf.ByteString value) [Deprecated, please use `request_preview` instead.] Response of the model/agent.setResponsePreview
(String value) A preview of the request to the model/agent represented as a JSON string.setResponsePreviewBytes
(com.google.protobuf.ByteString value) A preview of the request to the model/agent represented as a JSON string.optional .mlflow.TraceInfoV3.State state = 8;
setTraceId
(String value) The primary key associated with the tracesetTraceIdBytes
(com.google.protobuf.ByteString value) The primary key associated with the traceoptional .mlflow.TraceLocation trace_location = 3;
setTraceLocation
(Service.TraceLocation.Builder builderForValue) optional .mlflow.TraceLocation trace_location = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Service.TraceInfoV3.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
setField
public Service.TraceInfoV3.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
clearField
public Service.TraceInfoV3.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
clearOneof
public Service.TraceInfoV3.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
setRepeatedField
public Service.TraceInfoV3.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
addRepeatedField
public Service.TraceInfoV3.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.TraceInfoV3.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
mergeFrom
public Service.TraceInfoV3.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.TraceInfoV3.Builder>
- Throws:
IOException
-
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
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.
-
setTraceId
The primary key associated with the trace
optional string trace_id = 1;
- Parameters:
value
- The traceId to set.- Returns:
- This builder for chaining.
-
clearTraceId
The primary key associated with the trace
optional string trace_id = 1;
- Returns:
- This builder for chaining.
-
setTraceIdBytes
The primary key associated with the trace
optional string trace_id = 1;
- Parameters:
value
- The bytes for traceId to set.- Returns:
- This builder for chaining.
-
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
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.
-
setClientRequestId
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;
- Parameters:
value
- The clientRequestId to set.- Returns:
- This builder for chaining.
-
clearClientRequestId
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:
- This builder for chaining.
-
setClientRequestIdBytes
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;
- Parameters:
value
- The bytes for clientRequestId to set.- Returns:
- This builder for chaining.
-
hasTraceLocation
public boolean hasTraceLocation()optional .mlflow.TraceLocation trace_location = 3;
- Specified by:
hasTraceLocation
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- Whether the traceLocation field is set.
-
getTraceLocation
optional .mlflow.TraceLocation trace_location = 3;
- Specified by:
getTraceLocation
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- The traceLocation.
-
setTraceLocation
optional .mlflow.TraceLocation trace_location = 3;
-
setTraceLocation
optional .mlflow.TraceLocation trace_location = 3;
-
mergeTraceLocation
optional .mlflow.TraceLocation trace_location = 3;
-
clearTraceLocation
optional .mlflow.TraceLocation trace_location = 3;
-
getTraceLocationBuilder
optional .mlflow.TraceLocation trace_location = 3;
-
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
[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.
-
setRequest
[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;
- Parameters:
value
- The request to set.- Returns:
- This builder for chaining.
-
clearRequest
[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:
- This builder for chaining.
-
setRequestBytes
[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;
- Parameters:
value
- The bytes for request to set.- Returns:
- This builder for chaining.
-
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
[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.
-
setResponse
[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;
- Parameters:
value
- The response to set.- Returns:
- This builder for chaining.
-
clearResponse
[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:
- This builder for chaining.
-
setResponseBytes
[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;
- Parameters:
value
- The bytes for response to set.- Returns:
- This builder for chaining.
-
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
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.
-
setRequestPreview
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;
- Parameters:
value
- The requestPreview to set.- Returns:
- This builder for chaining.
-
clearRequestPreview
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:
- This builder for chaining.
-
setRequestPreviewBytes
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;
- Parameters:
value
- The bytes for requestPreview to set.- Returns:
- This builder for chaining.
-
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
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.
-
setResponsePreview
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;
- Parameters:
value
- The responsePreview to set.- Returns:
- This builder for chaining.
-
clearResponsePreview
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:
- This builder for chaining.
-
setResponsePreviewBytes
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;
- Parameters:
value
- The bytes for responsePreview to set.- Returns:
- This builder for chaining.
-
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.
-
setRequestTime
Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;
-
setRequestTime
public Service.TraceInfoV3.Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;
-
mergeRequestTime
Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;
-
clearRequestTime
Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;
-
getRequestTimeBuilder
public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder()Start time of the trace
optional .google.protobuf.Timestamp request_time = 6;
-
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.
-
setExecutionDuration
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;
-
setExecutionDuration
public Service.TraceInfoV3.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;
-
mergeExecutionDuration
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;
-
clearExecutionDuration
Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;
-
getExecutionDurationBuilder
public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()Execution time of the trace
optional .google.protobuf.Duration execution_duration = 7;
-
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
optional .mlflow.TraceInfoV3.State state = 8;
- Specified by:
getState
in interfaceService.TraceInfoV3OrBuilder
- Returns:
- The state.
-
setState
optional .mlflow.TraceInfoV3.State state = 8;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
optional .mlflow.TraceInfoV3.State state = 8;
- Returns:
- This builder for chaining.
-
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
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.UsegetTraceMetadataMap()
instead.- Specified by:
getTraceMetadata
in interfaceService.TraceInfoV3OrBuilder
-
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
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
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
-
clearTraceMetadata
-
removeTraceMetadata
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;
-
getMutableTraceMetadata
Deprecated.Use alternate mutation accessors instead. -
putTraceMetadata
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;
-
putAllTraceMetadata
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;
-
getAssessmentsList
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsList
in interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsCount
public int getAssessmentsCount()repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsCount
in interfaceService.TraceInfoV3OrBuilder
-
getAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessments
in interfaceService.TraceInfoV3OrBuilder
-
setAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
-
setAssessments
public Service.TraceInfoV3.Builder setAssessments(int index, Assessments.Assessment.Builder builderForValue) repeated .mlflow.assessments.Assessment assessments = 10;
-
addAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
-
addAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
-
addAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
-
addAssessments
public Service.TraceInfoV3.Builder addAssessments(int index, Assessments.Assessment.Builder builderForValue) repeated .mlflow.assessments.Assessment assessments = 10;
-
addAllAssessments
public Service.TraceInfoV3.Builder addAllAssessments(Iterable<? extends Assessments.Assessment> values) repeated .mlflow.assessments.Assessment assessments = 10;
-
clearAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
-
removeAssessments
repeated .mlflow.assessments.Assessment assessments = 10;
-
getAssessmentsBuilder
repeated .mlflow.assessments.Assessment assessments = 10;
-
getAssessmentsOrBuilder
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsOrBuilder
in interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsOrBuilderList
repeated .mlflow.assessments.Assessment assessments = 10;
- Specified by:
getAssessmentsOrBuilderList
in interfaceService.TraceInfoV3OrBuilder
-
addAssessmentsBuilder
repeated .mlflow.assessments.Assessment assessments = 10;
-
addAssessmentsBuilder
repeated .mlflow.assessments.Assessment assessments = 10;
-
getAssessmentsBuilderList
repeated .mlflow.assessments.Assessment assessments = 10;
-
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
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.UsegetTagsMap()
instead.- Specified by:
getTags
in interfaceService.TraceInfoV3OrBuilder
-
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
Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL”
map<string, string> tags = 11;
- Specified by:
getTagsOrDefault
in interfaceService.TraceInfoV3OrBuilder
-
getTagsOrThrow
Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL”
map<string, string> tags = 11;
- Specified by:
getTagsOrThrow
in interfaceService.TraceInfoV3OrBuilder
-
clearTags
-
removeTags
Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL”
map<string, string> tags = 11;
-
getMutableTags
Deprecated.Use alternate mutation accessors instead. -
putTags
Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL”
map<string, string> tags = 11;
-
putAllTags
Mutable, user-defined tags for the trace, e.g. “question_topic”: “DBSQL”
map<string, string> tags = 11;
-
setUnknownFields
public final Service.TraceInfoV3.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
mergeUnknownFields
public final Service.TraceInfoV3.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-