Package org.mlflow.api.proto
Class Service.EndTrace.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.EndTrace.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
org.mlflow.api.proto.Service.EndTrace.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.EndTraceOrBuilder
- Enclosing class:
Service.EndTrace
public static final class Service.EndTrace.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
implements Service.EndTraceOrBuilder
Protobuf type
mlflow.EndTrace
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestMetadata
(Iterable<? extends Service.TraceRequestMetadata> values) Additional metadata about the operation being traced.addAllTags
(Iterable<? extends Service.TraceTag> values) Additional tags to add to the trace.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequestMetadata
(int index, Service.TraceRequestMetadata value) Additional metadata about the operation being traced.addRequestMetadata
(int index, Service.TraceRequestMetadata.Builder builderForValue) Additional metadata about the operation being traced.Additional metadata about the operation being traced.addRequestMetadata
(Service.TraceRequestMetadata.Builder builderForValue) Additional metadata about the operation being traced.Additional metadata about the operation being traced.addRequestMetadataBuilder
(int index) Additional metadata about the operation being traced.addTags
(int index, Service.TraceTag value) Additional tags to add to the trace.addTags
(int index, Service.TraceTag.Builder builderForValue) Additional tags to add to the trace.addTags
(Service.TraceTag value) Additional tags to add to the trace.addTags
(Service.TraceTag.Builder builderForValue) Additional tags to add to the trace.Additional tags to add to the trace.addTagsBuilder
(int index) Additional tags to add to the trace.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) ID of the trace to end.Additional metadata about the operation being traced.Overall status of the operation being traced (OK, error, etc).Additional tags to add to the trace.Unix timestamp of when the trace ended in milliseconds.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
ID of the trace to end.com.google.protobuf.ByteString
ID of the trace to end.getRequestMetadata
(int index) Additional metadata about the operation being traced.getRequestMetadataBuilder
(int index) Additional metadata about the operation being traced.Additional metadata about the operation being traced.int
Additional metadata about the operation being traced.Additional metadata about the operation being traced.getRequestMetadataOrBuilder
(int index) Additional metadata about the operation being traced.List
<? extends Service.TraceRequestMetadataOrBuilder> Additional metadata about the operation being traced.Overall status of the operation being traced (OK, error, etc).getTags
(int index) Additional tags to add to the trace.getTagsBuilder
(int index) Additional tags to add to the trace.Additional tags to add to the trace.int
Additional tags to add to the trace.Additional tags to add to the trace.getTagsOrBuilder
(int index) Additional tags to add to the trace.List
<? extends Service.TraceTagOrBuilder> Additional tags to add to the trace.long
Unix timestamp of when the trace ended in milliseconds.boolean
ID of the trace to end.boolean
Overall status of the operation being traced (OK, error, etc).boolean
Unix timestamp of when the trace ended 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.EndTrace other) final Service.EndTrace.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeRequestMetadata
(int index) Additional metadata about the operation being traced.removeTags
(int index) Additional tags to add to the trace.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId
(String value) ID of the trace to end.setRequestIdBytes
(com.google.protobuf.ByteString value) ID of the trace to end.setRequestMetadata
(int index, Service.TraceRequestMetadata value) Additional metadata about the operation being traced.setRequestMetadata
(int index, Service.TraceRequestMetadata.Builder builderForValue) Additional metadata about the operation being traced.setStatus
(Service.TraceStatus value) Overall status of the operation being traced (OK, error, etc).setTags
(int index, Service.TraceTag value) Additional tags to add to the trace.setTags
(int index, Service.TraceTag.Builder builderForValue) Additional tags to add to the trace.setTimestampMs
(long value) Unix timestamp of when the trace ended in milliseconds.final Service.EndTrace.Builder
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.EndTrace.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.EndTrace.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.EndTrace.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.EndTrace.Builder>
-
setField
public Service.EndTrace.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.EndTrace.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
-
setRepeatedField
public Service.EndTrace.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.EndTrace.Builder>
-
addRepeatedField
public Service.EndTrace.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.EndTrace.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.EndTrace.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
-
mergeFrom
public Service.EndTrace.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.EndTrace.Builder>
- Throws:
IOException
-
hasRequestId
public boolean hasRequestId()ID of the trace to end.
optional string request_id = 1;
- Specified by:
hasRequestId
in interfaceService.EndTraceOrBuilder
- Returns:
- Whether the requestId field is set.
-
getRequestId
ID of the trace to end.
optional string request_id = 1;
- Specified by:
getRequestId
in interfaceService.EndTraceOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()ID of the trace to end.
optional string request_id = 1;
- Specified by:
getRequestIdBytes
in interfaceService.EndTraceOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
ID of the trace to end.
optional string request_id = 1;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
ID of the trace to end.
optional string request_id = 1;
- Returns:
- This builder for chaining.
-
setRequestIdBytes
ID of the trace to end.
optional string request_id = 1;
- Parameters:
value
- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
hasTimestampMs
public boolean hasTimestampMs()Unix timestamp of when the trace ended in milliseconds.
optional int64 timestamp_ms = 2;
- Specified by:
hasTimestampMs
in interfaceService.EndTraceOrBuilder
- Returns:
- Whether the timestampMs field is set.
-
getTimestampMs
public long getTimestampMs()Unix timestamp of when the trace ended in milliseconds.
optional int64 timestamp_ms = 2;
- Specified by:
getTimestampMs
in interfaceService.EndTraceOrBuilder
- Returns:
- The timestampMs.
-
setTimestampMs
Unix timestamp of when the trace ended 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 ended in milliseconds.
optional int64 timestamp_ms = 2;
- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Overall status of the operation being traced (OK, error, etc).
optional .mlflow.TraceStatus status = 3;
- Specified by:
hasStatus
in interfaceService.EndTraceOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
Overall status of the operation being traced (OK, error, etc).
optional .mlflow.TraceStatus status = 3;
- Specified by:
getStatus
in interfaceService.EndTraceOrBuilder
- Returns:
- The status.
-
setStatus
Overall status of the operation being traced (OK, error, etc).
optional .mlflow.TraceStatus status = 3;
- 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 = 3;
- Returns:
- This builder for chaining.
-
getRequestMetadataList
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadataList
in interfaceService.EndTraceOrBuilder
-
getRequestMetadataCount
public int getRequestMetadataCount()Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadataCount
in interfaceService.EndTraceOrBuilder
-
getRequestMetadata
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadata
in interfaceService.EndTraceOrBuilder
-
setRequestMetadata
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
setRequestMetadata
public Service.EndTrace.Builder setRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue) Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
addRequestMetadata
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
addRequestMetadata
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
addRequestMetadata
public Service.EndTrace.Builder addRequestMetadata(Service.TraceRequestMetadata.Builder builderForValue) Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
addRequestMetadata
public Service.EndTrace.Builder addRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue) Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
addAllRequestMetadata
public Service.EndTrace.Builder addAllRequestMetadata(Iterable<? extends Service.TraceRequestMetadata> values) Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
clearRequestMetadata
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
removeRequestMetadata
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
getRequestMetadataBuilder
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
getRequestMetadataOrBuilder
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadataOrBuilder
in interfaceService.EndTraceOrBuilder
-
getRequestMetadataOrBuilderList
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadataOrBuilderList
in interfaceService.EndTraceOrBuilder
-
addRequestMetadataBuilder
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
addRequestMetadataBuilder
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
getRequestMetadataBuilderList
Additional metadata about the operation being traced.
repeated .mlflow.TraceRequestMetadata request_metadata = 4;
-
getTagsList
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
- Specified by:
getTagsList
in interfaceService.EndTraceOrBuilder
-
getTagsCount
public int getTagsCount()Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
- Specified by:
getTagsCount
in interfaceService.EndTraceOrBuilder
-
getTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
- Specified by:
getTags
in interfaceService.EndTraceOrBuilder
-
setTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
setTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
addTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
addTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
addTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
addTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
addAllTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
clearTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
removeTags
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
getTagsBuilder
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
getTagsOrBuilder
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
- Specified by:
getTagsOrBuilder
in interfaceService.EndTraceOrBuilder
-
getTagsOrBuilderList
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
- Specified by:
getTagsOrBuilderList
in interfaceService.EndTraceOrBuilder
-
addTagsBuilder
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
addTagsBuilder
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
getTagsBuilderList
Additional tags to add to the trace.
repeated .mlflow.TraceTag tags = 5;
-
setUnknownFields
public final Service.EndTrace.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.EndTrace.Builder>
-
mergeUnknownFields
public final Service.EndTrace.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.EndTrace.Builder>
-