Package org.mlflow.api.proto
Class Service.StartTrace.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.StartTrace.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
org.mlflow.api.proto.Service.StartTrace.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.StartTraceOrBuilder
- Enclosing class:
Service.StartTrace
public static final class Service.StartTrace.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
implements Service.StartTraceOrBuilder
Protobuf type
mlflow.StartTrace
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestMetadata
(Iterable<? extends Service.TraceRequestMetadata> values) Metadata about the request that initiated the trace.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) Metadata about the request that initiated the trace.addRequestMetadata
(int index, Service.TraceRequestMetadata.Builder builderForValue) Metadata about the request that initiated the trace.Metadata about the request that initiated the trace.addRequestMetadata
(Service.TraceRequestMetadata.Builder builderForValue) Metadata about the request that initiated the trace.Metadata about the request that initiated the trace.addRequestMetadataBuilder
(int index) Metadata about the request that initiated the trace.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()
ID of the associated experiment.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Metadata about the request that initiated the trace.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
ID of the associated experiment.com.google.protobuf.ByteString
ID of the associated experiment.getRequestMetadata
(int index) Metadata about the request that initiated the trace.getRequestMetadataBuilder
(int index) Metadata about the request that initiated the trace.Metadata about the request that initiated the trace.int
Metadata about the request that initiated the trace.Metadata about the request that initiated the trace.getRequestMetadataOrBuilder
(int index) Metadata about the request that initiated the trace.List
<? extends Service.TraceRequestMetadataOrBuilder> Metadata about the request that initiated the trace.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
ID of the associated experiment.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.StartTrace other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeRequestMetadata
(int index) Metadata about the request that initiated the trace.removeTags
(int index) Tags for the trace.setExperimentId
(String value) ID of the associated experiment.setExperimentIdBytes
(com.google.protobuf.ByteString value) ID of the associated experiment.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestMetadata
(int index, Service.TraceRequestMetadata value) Metadata about the request that initiated the trace.setRequestMetadata
(int index, Service.TraceRequestMetadata.Builder builderForValue) Metadata about the request that initiated the trace.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.StartTrace.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.StartTrace.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.StartTrace.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.StartTrace.Builder>
-
setField
public Service.StartTrace.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.StartTrace.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
-
setRepeatedField
public Service.StartTrace.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.StartTrace.Builder>
-
addRepeatedField
public Service.StartTrace.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.StartTrace.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.StartTrace.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
-
mergeFrom
public Service.StartTrace.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.StartTrace.Builder>
- Throws:
IOException
-
hasExperimentId
public boolean hasExperimentId()ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
hasExperimentId
in interfaceService.StartTraceOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentId
in interfaceService.StartTraceOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentIdBytes
in interfaceService.StartTraceOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
ID of the associated experiment.
optional string experiment_id = 1;
- 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 = 2;
- Specified by:
hasTimestampMs
in interfaceService.StartTraceOrBuilder
- Returns:
- Whether the timestampMs field is set.
-
getTimestampMs
public long getTimestampMs()Unix timestamp of when the trace started in milliseconds.
optional int64 timestamp_ms = 2;
- Specified by:
getTimestampMs
in interfaceService.StartTraceOrBuilder
- Returns:
- The timestampMs.
-
setTimestampMs
Unix timestamp of when the trace started in milliseconds.
optional int64 timestamp_ms = 2;
- 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 = 2;
- Returns:
- This builder for chaining.
-
getRequestMetadataList
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
- Specified by:
getRequestMetadataList
in interfaceService.StartTraceOrBuilder
-
getRequestMetadataCount
public int getRequestMetadataCount()Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
- Specified by:
getRequestMetadataCount
in interfaceService.StartTraceOrBuilder
-
getRequestMetadata
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
- Specified by:
getRequestMetadata
in interfaceService.StartTraceOrBuilder
-
setRequestMetadata
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
setRequestMetadata
public Service.StartTrace.Builder setRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue) Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
addRequestMetadata
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
addRequestMetadata
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
addRequestMetadata
public Service.StartTrace.Builder addRequestMetadata(Service.TraceRequestMetadata.Builder builderForValue) Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
addRequestMetadata
public Service.StartTrace.Builder addRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue) Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
addAllRequestMetadata
public Service.StartTrace.Builder addAllRequestMetadata(Iterable<? extends Service.TraceRequestMetadata> values) Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
clearRequestMetadata
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
removeRequestMetadata
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
getRequestMetadataBuilder
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
getRequestMetadataOrBuilder
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
- Specified by:
getRequestMetadataOrBuilder
in interfaceService.StartTraceOrBuilder
-
getRequestMetadataOrBuilderList
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
- Specified by:
getRequestMetadataOrBuilderList
in interfaceService.StartTraceOrBuilder
-
addRequestMetadataBuilder
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
addRequestMetadataBuilder
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
getRequestMetadataBuilderList
Metadata about the request that initiated the trace.
repeated .mlflow.TraceRequestMetadata request_metadata = 3;
-
getTagsList
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
- Specified by:
getTagsList
in interfaceService.StartTraceOrBuilder
-
getTagsCount
public int getTagsCount()Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
- Specified by:
getTagsCount
in interfaceService.StartTraceOrBuilder
-
getTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
- Specified by:
getTags
in interfaceService.StartTraceOrBuilder
-
setTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
setTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
addTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
addAllTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
clearTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
removeTags
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
getTagsBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
getTagsOrBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
- Specified by:
getTagsOrBuilder
in interfaceService.StartTraceOrBuilder
-
getTagsOrBuilderList
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
- Specified by:
getTagsOrBuilderList
in interfaceService.StartTraceOrBuilder
-
addTagsBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
addTagsBuilder
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
getTagsBuilderList
Tags for the trace.
repeated .mlflow.TraceTag tags = 4;
-
setUnknownFields
public final Service.StartTrace.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.StartTrace.Builder>
-
mergeUnknownFields
public final Service.StartTrace.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.StartTrace.Builder>
-