Class Service.SetExperimentTag.Builder

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

public static final class Service.SetExperimentTag.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.SetExperimentTag.Builder> implements Service.SetExperimentTagOrBuilder
Protobuf type mlflow.SetExperimentTag
  • 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.SetExperimentTag.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.SetExperimentTag.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.SetExperimentTag.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public Service.SetExperimentTag.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.SetExperimentTag.Builder>
      Throws:
      IOException
    • hasExperimentId

      public boolean hasExperimentId()
       ID of the experiment under which to log the tag. Must be provided.
       
      optional string experiment_id = 1 [(.mlflow.validate_required) = true];
      Specified by:
      hasExperimentId in interface Service.SetExperimentTagOrBuilder
      Returns:
      Whether the experimentId field is set.
    • getExperimentId

      public String getExperimentId()
       ID of the experiment under which to log the tag. Must be provided.
       
      optional string experiment_id = 1 [(.mlflow.validate_required) = true];
      Specified by:
      getExperimentId in interface Service.SetExperimentTagOrBuilder
      Returns:
      The experimentId.
    • getExperimentIdBytes

      public com.google.protobuf.ByteString getExperimentIdBytes()
       ID of the experiment under which to log the tag. Must be provided.
       
      optional string experiment_id = 1 [(.mlflow.validate_required) = true];
      Specified by:
      getExperimentIdBytes in interface Service.SetExperimentTagOrBuilder
      Returns:
      The bytes for experimentId.
    • setExperimentId

      public Service.SetExperimentTag.Builder setExperimentId(String value)
       ID of the experiment under which to log the tag. Must be provided.
       
      optional string experiment_id = 1 [(.mlflow.validate_required) = true];
      Parameters:
      value - The experimentId to set.
      Returns:
      This builder for chaining.
    • clearExperimentId

      public Service.SetExperimentTag.Builder clearExperimentId()
       ID of the experiment under which to log the tag. Must be provided.
       
      optional string experiment_id = 1 [(.mlflow.validate_required) = true];
      Returns:
      This builder for chaining.
    • setExperimentIdBytes

      public Service.SetExperimentTag.Builder setExperimentIdBytes(com.google.protobuf.ByteString value)
       ID of the experiment under which to log the tag. Must be provided.
       
      optional string experiment_id = 1 [(.mlflow.validate_required) = true];
      Parameters:
      value - The bytes for experimentId to set.
      Returns:
      This builder for chaining.
    • hasKey

      public boolean hasKey()
       Name of the tag. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 250 bytes in size.
       
      optional string key = 2 [(.mlflow.validate_required) = true];
      Specified by:
      hasKey in interface Service.SetExperimentTagOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public String getKey()
       Name of the tag. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 250 bytes in size.
       
      optional string key = 2 [(.mlflow.validate_required) = true];
      Specified by:
      getKey in interface Service.SetExperimentTagOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       Name of the tag. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 250 bytes in size.
       
      optional string key = 2 [(.mlflow.validate_required) = true];
      Specified by:
      getKeyBytes in interface Service.SetExperimentTagOrBuilder
      Returns:
      The bytes for key.
    • setKey

       Name of the tag. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 250 bytes in size.
       
      optional string key = 2 [(.mlflow.validate_required) = true];
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

       Name of the tag. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 250 bytes in size.
       
      optional string key = 2 [(.mlflow.validate_required) = true];
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Service.SetExperimentTag.Builder setKeyBytes(com.google.protobuf.ByteString value)
       Name of the tag. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 250 bytes in size.
       
      optional string key = 2 [(.mlflow.validate_required) = true];
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
       String value of the tag being logged. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 5000 bytes in size.
       
      optional string value = 3 [(.mlflow.validate_required) = true];
      Specified by:
      hasValue in interface Service.SetExperimentTagOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public String getValue()
       String value of the tag being logged. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 5000 bytes in size.
       
      optional string value = 3 [(.mlflow.validate_required) = true];
      Specified by:
      getValue in interface Service.SetExperimentTagOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       String value of the tag being logged. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 5000 bytes in size.
       
      optional string value = 3 [(.mlflow.validate_required) = true];
      Specified by:
      getValueBytes in interface Service.SetExperimentTagOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public Service.SetExperimentTag.Builder setValue(String value)
       String value of the tag being logged. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 5000 bytes in size.
       
      optional string value = 3 [(.mlflow.validate_required) = true];
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public Service.SetExperimentTag.Builder clearValue()
       String value of the tag being logged. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 5000 bytes in size.
       
      optional string value = 3 [(.mlflow.validate_required) = true];
      Returns:
      This builder for chaining.
    • setValueBytes

      public Service.SetExperimentTag.Builder setValueBytes(com.google.protobuf.ByteString value)
       String value of the tag being logged. Maximum size depends on storage backend.
       All storage backends are guaranteed to support key values up to 5000 bytes in size.
       
      optional string value = 3 [(.mlflow.validate_required) = true];
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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