Package org.mlflow.api.proto
Class Service.TraceInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.TraceInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfo.Builder>
org.mlflow.api.proto.Service.TraceInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.TraceInfoOrBuilder
- Enclosing class:
Service.TraceInfo
public static final class Service.TraceInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfo.Builder>
implements Service.TraceInfoOrBuilder
TraceInfo. Represents metadata of a trace.Protobuf type
mlflow.TraceInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestMetadata
(Iterable<? extends Service.TraceRequestMetadata> values) Other trace metadata.addAllTags
(Iterable<? extends Service.TraceTag> values) Tags for the trace.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequestMetadata
(int index, Service.TraceRequestMetadata value) Other trace metadata.addRequestMetadata
(int index, Service.TraceRequestMetadata.Builder builderForValue) Other trace metadata.Other trace metadata.addRequestMetadata
(Service.TraceRequestMetadata.Builder builderForValue) Other trace metadata.Other trace metadata.addRequestMetadataBuilder
(int index) Other trace metadata.addTags
(int index, Service.TraceTag value) Tags for the trace.addTags
(int index, Service.TraceTag.Builder builderForValue) Tags for the trace.addTags
(Service.TraceTag value) Tags for the trace.addTags
(Service.TraceTag.Builder builderForValue) Tags for the trace.Tags for the trace.addTagsBuilder
(int index) Tags for the trace.build()
clear()
Unix timestamp of the duration of the trace in milliseconds.The ID of the experiment that contains the trace.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Unique identifier for the trace.Other trace metadata.Overall status of the operation being traced (OK, error, etc.).Tags for the trace.Unix timestamp of when the trace started in milliseconds.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Unix timestamp of the duration of the trace in milliseconds.The ID of the experiment that contains the trace.com.google.protobuf.ByteString
The ID of the experiment that contains the trace.Unique identifier for the trace.com.google.protobuf.ByteString
Unique identifier for the trace.getRequestMetadata
(int index) Other trace metadata.getRequestMetadataBuilder
(int index) Other trace metadata.Other trace metadata.int
Other trace metadata.Other trace metadata.getRequestMetadataOrBuilder
(int index) Other trace metadata.List
<? extends Service.TraceRequestMetadataOrBuilder> Other trace metadata.Overall status of the operation being traced (OK, error, etc.).getTags
(int index) Tags for the trace.getTagsBuilder
(int index) Tags for the trace.Tags for the trace.int
Tags for the trace.Tags for the trace.getTagsOrBuilder
(int index) Tags for the trace.List
<? extends Service.TraceTagOrBuilder> Tags for the trace.long
Unix timestamp of when the trace started in milliseconds.boolean
Unix timestamp of the duration of the trace in milliseconds.boolean
The ID of the experiment that contains the trace.boolean
Unique identifier for the trace.boolean
Overall status of the operation being traced (OK, error, etc.).boolean
Unix timestamp of when the trace started in milliseconds.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Service.TraceInfo other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeRequestMetadata
(int index) Other trace metadata.removeTags
(int index) Tags for the trace.setExecutionTimeMs
(long value) Unix timestamp of the duration of the trace in milliseconds.setExperimentId
(String value) The ID of the experiment that contains the trace.setExperimentIdBytes
(com.google.protobuf.ByteString value) The ID of the experiment that contains the trace.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId
(String value) Unique identifier for the trace.setRequestIdBytes
(com.google.protobuf.ByteString value) Unique identifier for the trace.setRequestMetadata
(int index, Service.TraceRequestMetadata value) Other trace metadata.setRequestMetadata
(int index, Service.TraceRequestMetadata.Builder builderForValue) Other trace metadata.setStatus
(Service.TraceStatus value) Overall status of the operation being traced (OK, error, etc.).setTags
(int index, Service.TraceTag value) Tags for the trace.setTags
(int index, Service.TraceTag.Builder builderForValue) Tags for the trace.setTimestampMs
(long value) Unix timestamp of when the trace started in milliseconds.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, internalGetMapField, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfo.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.TraceInfo.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.TraceInfo.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.TraceInfo.Builder>
-
setField
public Service.TraceInfo.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.TraceInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfo.Builder>
-
setRepeatedField
public Service.TraceInfo.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.TraceInfo.Builder>
-
addRepeatedField
public Service.TraceInfo.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.TraceInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.TraceInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.TraceInfo.Builder>
-
mergeFrom
public Service.TraceInfo.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.TraceInfo.Builder>
- Throws:
IOException
-
hasRequestId
public boolean hasRequestId()Unique identifier for the trace.
optional string request_id = 1;
- Specified by:
hasRequestId
in interfaceService.TraceInfoOrBuilder
- Returns:
- Whether the requestId field is set.
-
getRequestId
Unique identifier for the trace.
optional string request_id = 1;
- Specified by:
getRequestId
in interfaceService.TraceInfoOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Unique identifier for the trace.
optional string request_id = 1;
- Specified by:
getRequestIdBytes
in interfaceService.TraceInfoOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
Unique identifier for the trace.
optional string request_id = 1;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Unique identifier for the trace.
optional string request_id = 1;
- Returns:
- This builder for chaining.
-
setRequestIdBytes
Unique identifier for the trace.
optional string request_id = 1;
- Parameters:
value
- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
hasExperimentId
public boolean hasExperimentId()The ID of the experiment that contains the trace.
optional string experiment_id = 2;
- Specified by:
hasExperimentId
in interfaceService.TraceInfoOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
The ID of the experiment that contains the trace.
optional string experiment_id = 2;
- Specified by:
getExperimentId
in interfaceService.TraceInfoOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()The ID of the experiment that contains the trace.
optional string experiment_id = 2;
- Specified by:
getExperimentIdBytes
in interfaceService.TraceInfoOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
The ID of the experiment that contains the trace.
optional string experiment_id = 2;
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
The ID of the experiment that contains the trace.
optional string experiment_id = 2;
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
The ID of the experiment that contains the trace.
optional string experiment_id = 2;
- Parameters:
value
- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasTimestampMs
public boolean hasTimestampMs()Unix timestamp of when the trace started in milliseconds.
optional int64 timestamp_ms = 3;
- Specified by:
hasTimestampMs
in interfaceService.TraceInfoOrBuilder
- Returns:
- Whether the timestampMs field is set.
-
getTimestampMs
public long getTimestampMs()Unix timestamp of when the trace started in milliseconds.
optional int64 timestamp_ms = 3;
- Specified by:
getTimestampMs
in interfaceService.TraceInfoOrBuilder
- Returns:
- The timestampMs.
-
setTimestampMs
Unix timestamp of when the trace started in milliseconds.
optional int64 timestamp_ms = 3;
- Parameters:
value
- The timestampMs to set.- Returns:
- This builder for chaining.
-
clearTimestampMs
Unix timestamp of when the trace started in milliseconds.
optional int64 timestamp_ms = 3;
- Returns:
- This builder for chaining.
-
hasExecutionTimeMs
public boolean hasExecutionTimeMs()Unix timestamp of the duration of the trace in milliseconds.
optional int64 execution_time_ms = 4;
- Specified by:
hasExecutionTimeMs
in interfaceService.TraceInfoOrBuilder
- Returns:
- Whether the executionTimeMs field is set.
-
getExecutionTimeMs
public long getExecutionTimeMs()Unix timestamp of the duration of the trace in milliseconds.
optional int64 execution_time_ms = 4;
- Specified by:
getExecutionTimeMs
in interfaceService.TraceInfoOrBuilder
- Returns:
- The executionTimeMs.
-
setExecutionTimeMs
Unix timestamp of the duration of the trace in milliseconds.
optional int64 execution_time_ms = 4;
- Parameters:
value
- The executionTimeMs to set.- Returns:
- This builder for chaining.
-
clearExecutionTimeMs
Unix timestamp of the duration of the trace in milliseconds.
optional int64 execution_time_ms = 4;
- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Overall status of the operation being traced (OK, error, etc.).
optional .mlflow.TraceStatus status = 5;
- Specified by:
hasStatus
in interfaceService.TraceInfoOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
Overall status of the operation being traced (OK, error, etc.).
optional .mlflow.TraceStatus status = 5;
- Specified by:
getStatus
in interfaceService.TraceInfoOrBuilder
- Returns:
- The status.
-
setStatus
Overall status of the operation being traced (OK, error, etc.).
optional .mlflow.TraceStatus status = 5;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Overall status of the operation being traced (OK, error, etc.).
optional .mlflow.TraceStatus status = 5;
- Returns:
- This builder for chaining.
-
getRequestMetadataList
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
- Specified by:
getRequestMetadataList
in interfaceService.TraceInfoOrBuilder
-
getRequestMetadataCount
public int getRequestMetadataCount()Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
- Specified by:
getRequestMetadataCount
in interfaceService.TraceInfoOrBuilder
-
getRequestMetadata
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
- Specified by:
getRequestMetadata
in interfaceService.TraceInfoOrBuilder
-
setRequestMetadata
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
setRequestMetadata
public Service.TraceInfo.Builder setRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue) Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
addRequestMetadata
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
addRequestMetadata
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
addRequestMetadata
public Service.TraceInfo.Builder addRequestMetadata(Service.TraceRequestMetadata.Builder builderForValue) Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
addRequestMetadata
public Service.TraceInfo.Builder addRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue) Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
addAllRequestMetadata
public Service.TraceInfo.Builder addAllRequestMetadata(Iterable<? extends Service.TraceRequestMetadata> values) Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
clearRequestMetadata
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
removeRequestMetadata
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
getRequestMetadataBuilder
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
getRequestMetadataOrBuilder
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
- Specified by:
getRequestMetadataOrBuilder
in interfaceService.TraceInfoOrBuilder
-
getRequestMetadataOrBuilderList
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
- Specified by:
getRequestMetadataOrBuilderList
in interfaceService.TraceInfoOrBuilder
-
addRequestMetadataBuilder
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
addRequestMetadataBuilder
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
getRequestMetadataBuilderList
Other trace metadata.
repeated .mlflow.TraceRequestMetadata request_metadata = 6;
-
getTagsList
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
- Specified by:
getTagsList
in interfaceService.TraceInfoOrBuilder
-
getTagsCount
public int getTagsCount()Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
- Specified by:
getTagsCount
in interfaceService.TraceInfoOrBuilder
-
getTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
- Specified by:
getTags
in interfaceService.TraceInfoOrBuilder
-
setTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
setTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
addAllTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
clearTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
removeTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
getTagsBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
getTagsOrBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
- Specified by:
getTagsOrBuilder
in interfaceService.TraceInfoOrBuilder
-
getTagsOrBuilderList
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
- Specified by:
getTagsOrBuilderList
in interfaceService.TraceInfoOrBuilder
-
addTagsBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
addTagsBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
getTagsBuilderList
Tags for the trace.
repeated .mlflow.TraceTag tags = 7;
-
setUnknownFields
public final Service.TraceInfo.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.TraceInfo.Builder>
-
mergeUnknownFields
public final Service.TraceInfo.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.TraceInfo.Builder>
-