Class Service.EndTrace.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.EndTrace.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.EndTrace.Builder>
org.mlflow.api.proto.Service.EndTrace.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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 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.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, 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, 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, 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>
    • mergeFrom

      public Service.EndTrace.Builder mergeFrom(Service.EndTrace other)
    • 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 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:
      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 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(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.
    • getStatus

      public Service.TraceStatus getStatus()
       Overall status of the operation being traced (OK, error, etc).
       
      optional .mlflow.TraceStatus status = 3;
      Specified by:
      getStatus in interface Service.EndTraceOrBuilder
      Returns:
      The status.
    • setStatus

       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.
    • getRequestMetadataList

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

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

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

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

      public Service.EndTrace.Builder setRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue)
       Additional metadata about the operation being traced.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 4;
    • addRequestMetadata

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

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

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

      public Service.EndTrace.Builder addRequestMetadata(int index, Service.TraceRequestMetadata.Builder builderForValue)
       Additional metadata about the operation being traced.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 4;
    • addAllRequestMetadata

      public Service.EndTrace.Builder addAllRequestMetadata(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;
    • getRequestMetadataOrBuilder

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

      public List<? extends Service.TraceRequestMetadataOrBuilder> getRequestMetadataOrBuilderList()
       Additional metadata about the operation being traced.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 4;
      Specified by:
      getRequestMetadataOrBuilderList in interface Service.EndTraceOrBuilder
    • 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 List<Service.TraceRequestMetadata.Builder> getRequestMetadataBuilderList()
       Additional metadata about the operation being traced.
       
      repeated .mlflow.TraceRequestMetadata request_metadata = 4;
    • getTagsList

      public List<Service.TraceTag> getTagsList()
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
      Specified by:
      getTagsList in interface Service.EndTraceOrBuilder
    • getTagsCount

      public int getTagsCount()
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
      Specified by:
      getTagsCount in interface Service.EndTraceOrBuilder
    • getTags

      public Service.TraceTag getTags(int index)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
      Specified by:
      getTags in interface Service.EndTraceOrBuilder
    • setTags

      public Service.EndTrace.Builder setTags(int index, Service.TraceTag value)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
    • setTags

      public Service.EndTrace.Builder setTags(int index, Service.TraceTag.Builder builderForValue)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
    • addTags

       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
    • addTags

      public Service.EndTrace.Builder addTags(int index, Service.TraceTag value)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
    • addTags

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

      public Service.EndTrace.Builder addTags(int index, Service.TraceTag.Builder builderForValue)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
    • addAllTags

      public Service.EndTrace.Builder addAllTags(Iterable<? extends Service.TraceTag> values)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
    • 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;
    • getTagsOrBuilder

      public Service.TraceTagOrBuilder getTagsOrBuilder(int index)
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
      Specified by:
      getTagsOrBuilder in interface Service.EndTraceOrBuilder
    • getTagsOrBuilderList

      public List<? extends Service.TraceTagOrBuilder> getTagsOrBuilderList()
       Additional tags to add to the trace.
       
      repeated .mlflow.TraceTag tags = 5;
      Specified by:
      getTagsOrBuilderList in interface Service.EndTraceOrBuilder
    • 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 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>