Package org.mlflow.api.proto
Class Service.DeleteTraces.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.DeleteTraces.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
org.mlflow.api.proto.Service.DeleteTraces.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.DeleteTracesOrBuilder
- Enclosing class:
Service.DeleteTraces
public static final class Service.DeleteTraces.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
implements Service.DeleteTracesOrBuilder
Protobuf type
mlflow.DeleteTraces
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestIds
(Iterable<String> values) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequestIds
(String value) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteaddRequestIdsBytes
(com.google.protobuf.ByteString value) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deletebuild()
clear()
ID of the associated experiment.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.The maximum number of traces to delete.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteclone()
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.long
Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.int
The maximum number of traces to delete.getRequestIds
(int index) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deletecom.google.protobuf.ByteString
getRequestIdsBytes
(int index) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteint
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deletecom.google.protobuf.ProtocolStringList
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteboolean
ID of the associated experiment.boolean
Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.boolean
The maximum number of traces to delete.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.DeleteTraces other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setExperimentId
(String value) ID of the associated experiment.setExperimentIdBytes
(com.google.protobuf.ByteString value) ID of the associated experiment.setMaxTimestampMillis
(long value) Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.setMaxTraces
(int value) The maximum number of traces to delete.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestIds
(int index, String value) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deletesetUnknownFields
(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.DeleteTraces.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.DeleteTraces.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.DeleteTraces.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.DeleteTraces.Builder>
-
setField
public Service.DeleteTraces.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.DeleteTraces.Builder>
-
clearField
public Service.DeleteTraces.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
-
clearOneof
public Service.DeleteTraces.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
-
setRepeatedField
public Service.DeleteTraces.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.DeleteTraces.Builder>
-
addRepeatedField
public Service.DeleteTraces.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.DeleteTraces.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.DeleteTraces.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
-
mergeFrom
public Service.DeleteTraces.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.DeleteTraces.Builder>
- Throws:
IOException
-
hasExperimentId
public boolean hasExperimentId()ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasExperimentId
in interfaceService.DeleteTracesOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getExperimentId
in interfaceService.DeleteTracesOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getExperimentIdBytes
in interfaceService.DeleteTracesOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasMaxTimestampMillis
public boolean hasMaxTimestampMillis()Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.
optional int64 max_timestamp_millis = 2;
- Specified by:
hasMaxTimestampMillis
in interfaceService.DeleteTracesOrBuilder
- Returns:
- Whether the maxTimestampMillis field is set.
-
getMaxTimestampMillis
public long getMaxTimestampMillis()Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.
optional int64 max_timestamp_millis = 2;
- Specified by:
getMaxTimestampMillis
in interfaceService.DeleteTracesOrBuilder
- Returns:
- The maxTimestampMillis.
-
setMaxTimestampMillis
Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.
optional int64 max_timestamp_millis = 2;
- Parameters:
value
- The maxTimestampMillis to set.- Returns:
- This builder for chaining.
-
clearMaxTimestampMillis
Case 1: max_timestamp_millis and max_traces must be specified for time-based deletion The maximum timestamp in milliseconds since the UNIX epoch for deleting traces.
optional int64 max_timestamp_millis = 2;
- Returns:
- This builder for chaining.
-
hasMaxTraces
public boolean hasMaxTraces()The maximum number of traces to delete.
optional int32 max_traces = 3;
- Specified by:
hasMaxTraces
in interfaceService.DeleteTracesOrBuilder
- Returns:
- Whether the maxTraces field is set.
-
getMaxTraces
public int getMaxTraces()The maximum number of traces to delete.
optional int32 max_traces = 3;
- Specified by:
getMaxTraces
in interfaceService.DeleteTracesOrBuilder
- Returns:
- The maxTraces.
-
setMaxTraces
The maximum number of traces to delete.
optional int32 max_traces = 3;
- Parameters:
value
- The maxTraces to set.- Returns:
- This builder for chaining.
-
clearMaxTraces
The maximum number of traces to delete.
optional int32 max_traces = 3;
- Returns:
- This builder for chaining.
-
getRequestIdsList
public com.google.protobuf.ProtocolStringList getRequestIdsList()Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Specified by:
getRequestIdsList
in interfaceService.DeleteTracesOrBuilder
- Returns:
- A list containing the requestIds.
-
getRequestIdsCount
public int getRequestIdsCount()Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Specified by:
getRequestIdsCount
in interfaceService.DeleteTracesOrBuilder
- Returns:
- The count of requestIds.
-
getRequestIds
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Specified by:
getRequestIds
in interfaceService.DeleteTracesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The requestIds at the given index.
-
getRequestIdsBytes
public com.google.protobuf.ByteString getRequestIdsBytes(int index) Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Specified by:
getRequestIdsBytes
in interfaceService.DeleteTracesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestIds at the given index.
-
setRequestIds
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Parameters:
index
- The index to set the value at.value
- The requestIds to set.- Returns:
- This builder for chaining.
-
addRequestIds
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Parameters:
value
- The requestIds to add.- Returns:
- This builder for chaining.
-
addAllRequestIds
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Parameters:
values
- The requestIds to add.- Returns:
- This builder for chaining.
-
clearRequestIds
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Returns:
- This builder for chaining.
-
addRequestIdsBytes
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to delete
repeated string request_ids = 4;
- Parameters:
value
- The bytes of the requestIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.DeleteTraces.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.DeleteTraces.Builder>
-
mergeUnknownFields
public final Service.DeleteTraces.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.DeleteTraces.Builder>
-