Class Service.EndTrace.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.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 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.EndTrace.Builder>
      • clear

        public Service.EndTrace.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.EndTrace.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.EndTrace.Builder>
      • getDefaultInstanceForType

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

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

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

        public Service.EndTrace.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.EndTrace.Builder>
      • setField

        public Service.EndTrace.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.EndTrace.Builder>
      • clearField

        public Service.EndTrace.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.EndTrace.Builder>
      • clearOneof

        public Service.EndTrace.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.EndTrace.Builder>
      • setRepeatedField

        public Service.EndTrace.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.EndTrace.Builder>
      • addRepeatedField

        public Service.EndTrace.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.EndTrace.Builder>
      • mergeFrom

        public Service.EndTrace.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.EndTrace.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.EndTrace.Builder>
      • mergeFrom

        public Service.EndTrace.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.EndTrace.Builder>
        Throws:
        java.io.IOException
      • hasRequestId

        public boolean hasRequestId()
         ID of the trace to end.
         
        optional string request_id = 1;
        Specified by:
        hasRequestId in interface Service.EndTraceOrBuilder
        Returns:
        Whether the requestId field is set.
      • getRequestId

        public java.lang.String getRequestId()
         ID of the trace to end.
         
        optional string request_id = 1;
        Specified by:
        getRequestId in interface Service.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 interface Service.EndTraceOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public Service.EndTrace.Builder setRequestId​(java.lang.String value)
         ID of the trace to end.
         
        optional string request_id = 1;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public Service.EndTrace.Builder clearRequestId()
         ID of the trace to end.
         
        optional string request_id = 1;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public Service.EndTrace.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         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 interface Service.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 interface Service.EndTraceOrBuilder
        Returns:
        The timestampMs.
      • setTimestampMs

        public Service.EndTrace.Builder setTimestampMs​(long value)
         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

        public Service.EndTrace.Builder 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 interface Service.EndTraceOrBuilder
        Returns:
        Whether the status field is set.
      • setStatus

        public Service.EndTrace.Builder setStatus​(Service.TraceStatus value)
         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

        public Service.EndTrace.Builder clearStatus()
         Overall status of the operation being traced (OK, error, etc).
         
        optional .mlflow.TraceStatus status = 3;
        Returns:
        This builder for chaining.
      • getRequestMetadataCount

        public int getRequestMetadataCount()
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
        Specified by:
        getRequestMetadataCount in interface Service.EndTraceOrBuilder
      • addAllRequestMetadata

        public Service.EndTrace.Builder addAllRequestMetadata​(java.lang.Iterable<? extends Service.TraceRequestMetadata> values)
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • clearRequestMetadata

        public Service.EndTrace.Builder clearRequestMetadata()
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • removeRequestMetadata

        public Service.EndTrace.Builder removeRequestMetadata​(int index)
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • getRequestMetadataBuilder

        public Service.TraceRequestMetadata.Builder getRequestMetadataBuilder​(int index)
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • addRequestMetadataBuilder

        public Service.TraceRequestMetadata.Builder addRequestMetadataBuilder()
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • addRequestMetadataBuilder

        public Service.TraceRequestMetadata.Builder addRequestMetadataBuilder​(int index)
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • getRequestMetadataBuilderList

        public java.util.List<Service.TraceRequestMetadata.Builder> getRequestMetadataBuilderList()
         Additional metadata about the operation being traced.
         
        repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      • clearTags

        public Service.EndTrace.Builder clearTags()
         Additional tags to add to the trace.
         
        repeated .mlflow.TraceTag tags = 5;
      • removeTags

        public Service.EndTrace.Builder removeTags​(int index)
         Additional tags to add to the trace.
         
        repeated .mlflow.TraceTag tags = 5;
      • getTagsBuilder

        public Service.TraceTag.Builder getTagsBuilder​(int index)
         Additional tags to add to the trace.
         
        repeated .mlflow.TraceTag tags = 5;
      • addTagsBuilder

        public Service.TraceTag.Builder addTagsBuilder()
         Additional tags to add to the trace.
         
        repeated .mlflow.TraceTag tags = 5;
      • addTagsBuilder

        public Service.TraceTag.Builder addTagsBuilder​(int index)
         Additional tags to add to the trace.
         
        repeated .mlflow.TraceTag tags = 5;
      • getTagsBuilderList

        public java.util.List<Service.TraceTag.Builder> 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
      • mergeUnknownFields

        public final Service.EndTrace.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.EndTrace.Builder>