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()booleancontainsTags(String key) Mutable, user-defined tags for the trace, e.g.booleanMetadata 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;intrepeated .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.ByteStringClient supplied request ID associated with the trace.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationExecution time of the tracecom.google.protobuf.Duration.BuilderExecution time of the tracecom.google.protobuf.DurationOrBuilderExecution 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.ByteStringA preview of the request to the model/agent represented as a JSON string.com.google.protobuf.TimestampStart time of the tracecom.google.protobuf.Timestamp.BuilderStart time of the tracecom.google.protobuf.TimestampOrBuilderStart 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.ByteStringA preview of the request to the model/agent represented as a JSON string.getState()optional .mlflow.TraceInfoV3.State state = 8;getTags()Deprecated.intMutable, 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.ByteStringThe primary key associated with the traceoptional .mlflow.TraceLocation trace_location = 3;optional .mlflow.TraceLocation trace_location = 3;optional .mlflow.TraceLocation trace_location = 3;Deprecated.intMetadata associated with the trace.Metadata associated with the trace.getTraceMetadataOrDefault(String key, String defaultValue) Metadata associated with the trace.Metadata associated with the trace.booleanClient supplied request ID associated with the trace.booleanExecution time of the traceboolean[Deprecated, please use `request_preview` instead.] Request to the model/agent.booleanA preview of the request to the model/agent represented as a JSON string.booleanStart time of the traceboolean[Deprecated, please use `request_preview` instead.] Response of the model/agent.booleanA preview of the request to the model/agent represented as a JSON string.booleanhasState()optional .mlflow.TraceInfoV3.State state = 8;booleanThe primary key associated with the tracebooleanoptional .mlflow.TraceLocation trace_location = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeExecutionDuration(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, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
setField
public Service.TraceInfoV3.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
clearField
public Service.TraceInfoV3.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
clearOneof
public Service.TraceInfoV3.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
addRepeatedField
public Service.TraceInfoV3.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.TraceInfoV3.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasTraceIdin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the traceId field is set.
-
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.
-
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:
hasClientRequestIdin 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:
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.
-
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:
hasTraceLocationin interfaceService.TraceInfoV3OrBuilder- Returns:
- Whether the traceLocation field is set.
-
getTraceLocation
optional .mlflow.TraceLocation trace_location = 3;- Specified by:
getTraceLocationin 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:
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
[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.
-
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:
hasResponsein 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:
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.
-
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:
hasRequestPreviewin 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:
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.
-
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:
hasResponsePreviewin 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:
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.
-
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:
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.
-
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:
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.
-
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:
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
optional .mlflow.TraceInfoV3.State state = 8;- Specified by:
getStatein 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.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
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.UsegetTraceMetadataMap()instead.- Specified by:
getTraceMetadatain 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 frommap<string, string> trace_metadata = 9;- Specified by:
getTraceMetadataMapin 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 frommap<string, string> trace_metadata = 9;- Specified by:
getTraceMetadataOrDefaultin 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 frommap<string, string> trace_metadata = 9;- Specified by:
getTraceMetadataOrThrowin 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 frommap<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 frommap<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 frommap<string, string> trace_metadata = 9; -
getAssessmentsList
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsListin interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsCount
public int getAssessmentsCount()repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsCountin interfaceService.TraceInfoV3OrBuilder
-
getAssessments
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsin 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:
getAssessmentsOrBuilderin interfaceService.TraceInfoV3OrBuilder
-
getAssessmentsOrBuilderList
repeated .mlflow.assessments.Assessment assessments = 10;- Specified by:
getAssessmentsOrBuilderListin 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.TraceInfoV3OrBuilderMutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
getTagsCountin interfaceService.TraceInfoV3OrBuilder
-
containsTags
Mutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
containsTagsin interfaceService.TraceInfoV3OrBuilder
-
getTags
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceService.TraceInfoV3OrBuilder
-
getTagsMap
Mutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
getTagsMapin interfaceService.TraceInfoV3OrBuilder
-
getTagsOrDefault
Mutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
getTagsOrDefaultin interfaceService.TraceInfoV3OrBuilder
-
getTagsOrThrow
Mutable, user-defined tags for the trace, e.g. "question_topic": "DBSQL"
map<string, string> tags = 11;- Specified by:
getTagsOrThrowin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-
mergeUnknownFields
public final Service.TraceInfoV3.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfoV3.Builder>
-