Class Service.StartTrace.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.StartTrace.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
org.mlflow.api.proto.Service.StartTrace.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Service.StartTraceOrBuilder
Enclosing class:
Service.StartTrace

public static final class Service.StartTrace.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder> implements Service.StartTraceOrBuilder
Protobuf type mlflow.StartTrace
  • Method Details

    • 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.StartTrace.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.StartTrace.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.StartTrace.Builder>
    • getDefaultInstanceForType

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

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

      public Service.StartTrace buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.StartTrace.Builder>
    • setField

      public Service.StartTrace.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
    • clearField

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

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

      public Service.StartTrace.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
    • addRepeatedField

      public Service.StartTrace.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.StartTrace.Builder>
    • mergeFrom

      public Service.StartTrace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.StartTrace.Builder>
      Throws:
      IOException
    • hasExperimentId

      public boolean hasExperimentId()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Specified by:
      hasExperimentId in interface Service.StartTraceOrBuilder
      Returns:
      Whether the experimentId field is set.
    • getExperimentId

      public String getExperimentId()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Specified by:
      getExperimentId in interface Service.StartTraceOrBuilder
      Returns:
      The experimentId.
    • getExperimentIdBytes

      public com.google.protobuf.ByteString getExperimentIdBytes()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Specified by:
      getExperimentIdBytes in interface Service.StartTraceOrBuilder
      Returns:
      The bytes for experimentId.
    • setExperimentId

      public Service.StartTrace.Builder setExperimentId(String value)
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Parameters:
      value - The experimentId to set.
      Returns:
      This builder for chaining.
    • clearExperimentId

      public Service.StartTrace.Builder clearExperimentId()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Returns:
      This builder for chaining.
    • setExperimentIdBytes

      public Service.StartTrace.Builder setExperimentIdBytes(com.google.protobuf.ByteString value)
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Parameters:
      value - The bytes for experimentId to set.
      Returns:
      This builder for chaining.
    • hasTimestampMs

      public boolean hasTimestampMs()
       Unix timestamp of when the trace started in milliseconds.
       
      optional int64 timestamp_ms = 2;
      Specified by:
      hasTimestampMs in interface Service.StartTraceOrBuilder
      Returns:
      Whether the timestampMs field is set.
    • getTimestampMs

      public long getTimestampMs()
       Unix timestamp of when the trace started in milliseconds.
       
      optional int64 timestamp_ms = 2;
      Specified by:
      getTimestampMs in interface Service.StartTraceOrBuilder
      Returns:
      The timestampMs.
    • setTimestampMs

      public Service.StartTrace.Builder setTimestampMs(long value)
       Unix timestamp of when the trace started in milliseconds.
       
      optional int64 timestamp_ms = 2;
      Parameters:
      value - The timestampMs to set.
      Returns:
      This builder for chaining.
    • clearTimestampMs

      public Service.StartTrace.Builder clearTimestampMs()
       Unix timestamp of when the trace started in milliseconds.
       
      optional int64 timestamp_ms = 2;
      Returns:
      This builder for chaining.
    • getRequestMetadataList

      public List<Service.TraceRequestMetadata> getRequestMetadataList()
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
      Specified by:
      getRequestMetadataList in interface Service.StartTraceOrBuilder
    • getRequestMetadataCount

      public int getRequestMetadataCount()
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
      Specified by:
      getRequestMetadataCount in interface Service.StartTraceOrBuilder
    • getRequestMetadata

      public Service.TraceRequestMetadata getRequestMetadata(int index)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
      Specified by:
      getRequestMetadata in interface Service.StartTraceOrBuilder
    • setRequestMetadata

      public Service.StartTrace.Builder setRequestMetadata(int index, Service.TraceRequestMetadata value)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • setRequestMetadata

      public Service.StartTrace.Builder setRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • addRequestMetadata

      public Service.StartTrace.Builder addRequestMetadata(Service.TraceRequestMetadata value)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • addRequestMetadata

      public Service.StartTrace.Builder addRequestMetadata(int index, Service.TraceRequestMetadata value)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • addRequestMetadata

      public Service.StartTrace.Builder addRequestMetadata(Service.TraceRequestMetadata.Builder builderForValue)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • addRequestMetadata

      public Service.StartTrace.Builder addRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • addAllRequestMetadata

      public Service.StartTrace.Builder addAllRequestMetadata(Iterable<? extends Service.TraceRequestMetadata> values)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • clearRequestMetadata

      public Service.StartTrace.Builder clearRequestMetadata()
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • removeRequestMetadata

      public Service.StartTrace.Builder removeRequestMetadata(int index)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • getRequestMetadataBuilder

      public Service.TraceRequestMetadata.Builder getRequestMetadataBuilder(int index)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • getRequestMetadataOrBuilder

      public Service.TraceRequestMetadataOrBuilder getRequestMetadataOrBuilder(int index)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
      Specified by:
      getRequestMetadataOrBuilder in interface Service.StartTraceOrBuilder
    • getRequestMetadataOrBuilderList

      public List<? extends Service.TraceRequestMetadataOrBuilder> getRequestMetadataOrBuilderList()
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
      Specified by:
      getRequestMetadataOrBuilderList in interface Service.StartTraceOrBuilder
    • addRequestMetadataBuilder

      public Service.TraceRequestMetadata.Builder addRequestMetadataBuilder()
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • addRequestMetadataBuilder

      public Service.TraceRequestMetadata.Builder addRequestMetadataBuilder(int index)
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • getRequestMetadataBuilderList

      public List<Service.TraceRequestMetadata.Builder> getRequestMetadataBuilderList()
       Metadata about the request that initiated the trace.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 3;
    • getTagsList

      public List<Service.TraceTag> getTagsList()
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
      Specified by:
      getTagsList in interface Service.StartTraceOrBuilder
    • getTagsCount

      public int getTagsCount()
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
      Specified by:
      getTagsCount in interface Service.StartTraceOrBuilder
    • getTags

      public Service.TraceTag getTags(int index)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
      Specified by:
      getTags in interface Service.StartTraceOrBuilder
    • setTags

      public Service.StartTrace.Builder setTags(int index, Service.TraceTag value)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • setTags

      public Service.StartTrace.Builder setTags(int index, Service.TraceTag.Builder builderForValue)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • addTags

       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • addTags

      public Service.StartTrace.Builder addTags(int index, Service.TraceTag value)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • addTags

      public Service.StartTrace.Builder addTags(Service.TraceTag.Builder builderForValue)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • addTags

      public Service.StartTrace.Builder addTags(int index, Service.TraceTag.Builder builderForValue)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • addAllTags

      public Service.StartTrace.Builder addAllTags(Iterable<? extends Service.TraceTag> values)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • clearTags

      public Service.StartTrace.Builder clearTags()
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • removeTags

      public Service.StartTrace.Builder removeTags(int index)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • getTagsBuilder

      public Service.TraceTag.Builder getTagsBuilder(int index)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • getTagsOrBuilder

      public Service.TraceTagOrBuilder getTagsOrBuilder(int index)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
      Specified by:
      getTagsOrBuilder in interface Service.StartTraceOrBuilder
    • getTagsOrBuilderList

      public List<? extends Service.TraceTagOrBuilder> getTagsOrBuilderList()
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
      Specified by:
      getTagsOrBuilderList in interface Service.StartTraceOrBuilder
    • addTagsBuilder

      public Service.TraceTag.Builder addTagsBuilder()
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • addTagsBuilder

      public Service.TraceTag.Builder addTagsBuilder(int index)
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • getTagsBuilderList

      public List<Service.TraceTag.Builder> getTagsBuilderList()
       Tags for the trace.
       
      repeated .mlflow.TraceTag tags = 4;
    • setUnknownFields

      public final Service.StartTrace.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.StartTrace.Builder>
    • mergeUnknownFields

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