Package org.mlflow.api.proto
Class Service.DeleteTraces.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.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 typemlflow.DeleteTraces
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.DeleteTraces.Builder
addAllRequestIds(java.lang.Iterable<java.lang.String> values)
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteService.DeleteTraces.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.DeleteTraces.Builder
addRequestIds(java.lang.String value)
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteService.DeleteTraces.Builder
addRequestIdsBytes(com.google.protobuf.ByteString value)
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteService.DeleteTraces
build()
Service.DeleteTraces
buildPartial()
Service.DeleteTraces.Builder
clear()
Service.DeleteTraces.Builder
clearExperimentId()
ID of the associated experiment.Service.DeleteTraces.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.DeleteTraces.Builder
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.Service.DeleteTraces.Builder
clearMaxTraces()
The maximum number of traces to delete.Service.DeleteTraces.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.DeleteTraces.Builder
clearRequestIds()
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteService.DeleteTraces.Builder
clone()
Service.DeleteTraces
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getExperimentId()
ID of the associated experiment.com.google.protobuf.ByteString
getExperimentIdBytes()
ID of the associated experiment.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.int
getMaxTraces()
The maximum number of traces to delete.java.lang.String
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
getRequestIdsCount()
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deletecom.google.protobuf.ProtocolStringList
getRequestIdsList()
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteboolean
hasExperimentId()
ID of the associated experiment.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.boolean
hasMaxTraces()
The maximum number of traces to delete.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.DeleteTraces.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.DeleteTraces.Builder
mergeFrom(com.google.protobuf.Message other)
Service.DeleteTraces.Builder
mergeFrom(Service.DeleteTraces other)
Service.DeleteTraces.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.DeleteTraces.Builder
setExperimentId(java.lang.String value)
ID of the associated experiment.Service.DeleteTraces.Builder
setExperimentIdBytes(com.google.protobuf.ByteString value)
ID of the associated experiment.Service.DeleteTraces.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.DeleteTraces.Builder
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.Service.DeleteTraces.Builder
setMaxTraces(int value)
The maximum number of traces to delete.Service.DeleteTraces.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.DeleteTraces.Builder
setRequestIds(int index, java.lang.String value)
Case 2: request_ids must be specified for ID-based deletion A set of request IDs to deleteService.DeleteTraces.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
-
-
-
-
Method Detail
-
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
public 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
public Service.DeleteTraces getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.DeleteTraces build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.DeleteTraces buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.DeleteTraces.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
-
mergeFrom
public Service.DeleteTraces.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.DeleteTraces.Builder>
-
mergeFrom
public Service.DeleteTraces.Builder mergeFrom(Service.DeleteTraces other)
-
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 java.io.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:
java.io.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
public java.lang.String 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
public Service.DeleteTraces.Builder setExperimentId(java.lang.String value)
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
public Service.DeleteTraces.Builder clearExperimentId()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
public Service.DeleteTraces.Builder setExperimentIdBytes(com.google.protobuf.ByteString value)
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
public Service.DeleteTraces.Builder 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.
optional int64 max_timestamp_millis = 2;
- Parameters:
value
- The maxTimestampMillis to set.- Returns:
- This builder for chaining.
-
clearMaxTimestampMillis
public Service.DeleteTraces.Builder 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
public Service.DeleteTraces.Builder setMaxTraces(int value)
The maximum number of traces to delete.
optional int32 max_traces = 3;
- Parameters:
value
- The maxTraces to set.- Returns:
- This builder for chaining.
-
clearMaxTraces
public Service.DeleteTraces.Builder 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
public java.lang.String getRequestIds(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:
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
public Service.DeleteTraces.Builder setRequestIds(int index, java.lang.String value)
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
public Service.DeleteTraces.Builder addRequestIds(java.lang.String value)
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
public Service.DeleteTraces.Builder addAllRequestIds(java.lang.Iterable<java.lang.String> values)
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
public Service.DeleteTraces.Builder 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
public Service.DeleteTraces.Builder addRequestIdsBytes(com.google.protobuf.ByteString value)
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>
-
-