Class Service.DeleteTraces.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • clear

        public Service.DeleteTraces.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • getDefaultInstanceForType

        public Service.DeleteTraces getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Service.DeleteTraces build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Service.DeleteTraces buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Service.DeleteTraces.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • clearField

        public Service.DeleteTraces.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • clearOneof

        public Service.DeleteTraces.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface Service.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>
      • mergeUnknownFields

        public final Service.DeleteTraces.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DeleteTraces.Builder>