Class ModelRegistry.SetModelVersionTag.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<ModelRegistry.SetModelVersionTag.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<ModelRegistry.SetModelVersionTag.Builder>
      • getDefaultInstanceForType

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

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

        public ModelRegistry.SetModelVersionTag buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public ModelRegistry.SetModelVersionTag.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<ModelRegistry.SetModelVersionTag.Builder>
        Throws:
        java.io.IOException
      • hasName

        public boolean hasName()
         Unique name of the model.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasName in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Unique name of the model.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getNameBytes in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ModelRegistry.SetModelVersionTag.Builder setName​(java.lang.String value)
         Unique name of the model.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public ModelRegistry.SetModelVersionTag.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Unique name of the model.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasVersion

        public boolean hasVersion()
         Model version number.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasVersion in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        Whether the version field is set.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Model version number.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getVersionBytes in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public ModelRegistry.SetModelVersionTag.Builder setVersion​(java.lang.String value)
         Model version number.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public ModelRegistry.SetModelVersionTag.Builder clearVersion()
         Model version number.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setVersionBytes

        public ModelRegistry.SetModelVersionTag.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Model version number.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • hasKey

        public boolean hasKey()
         Name of the tag. Maximum size depends on storage backend.
         If a tag with this name already exists, its preexisting value will be replaced by the specified `value`.
         All storage backends are guaranteed to support key values up to 250 bytes in size.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Specified by:
        hasKey in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        Whether the key field is set.
      • getKey

        public java.lang.String getKey()
         Name of the tag. Maximum size depends on storage backend.
         If a tag with this name already exists, its preexisting value will be replaced by the specified `value`.
         All storage backends are guaranteed to support key values up to 250 bytes in size.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getKey in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         Name of the tag. Maximum size depends on storage backend.
         If a tag with this name already exists, its preexisting value will be replaced by the specified `value`.
         All storage backends are guaranteed to support key values up to 250 bytes in size.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getKeyBytes in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public ModelRegistry.SetModelVersionTag.Builder setKey​(java.lang.String value)
         Name of the tag. Maximum size depends on storage backend.
         If a tag with this name already exists, its preexisting value will be replaced by the specified `value`.
         All storage backends are guaranteed to support key values up to 250 bytes in size.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public ModelRegistry.SetModelVersionTag.Builder clearKey()
         Name of the tag. Maximum size depends on storage backend.
         If a tag with this name already exists, its preexisting value will be replaced by the specified `value`.
         All storage backends are guaranteed to support key values up to 250 bytes in size.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setKeyBytes

        public ModelRegistry.SetModelVersionTag.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         Name of the tag. Maximum size depends on storage backend.
         If a tag with this name already exists, its preexisting value will be replaced by the specified `value`.
         All storage backends are guaranteed to support key values up to 250 bytes in size.
         
        optional string key = 3 [(.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 = 4 [(.mlflow.validate_required) = true];
        Specified by:
        hasValue in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public java.lang.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 = 4 [(.mlflow.validate_required) = true];
        Specified by:
        getValue in interface ModelRegistry.SetModelVersionTagOrBuilder
        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 = 4 [(.mlflow.validate_required) = true];
        Specified by:
        getValueBytes in interface ModelRegistry.SetModelVersionTagOrBuilder
        Returns:
        The bytes for value.
      • setValue

        public ModelRegistry.SetModelVersionTag.Builder setValue​(java.lang.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 = 4 [(.mlflow.validate_required) = true];
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public ModelRegistry.SetModelVersionTag.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 = 4 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setValueBytes

        public ModelRegistry.SetModelVersionTag.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 = 4 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for value to set.
        Returns:
        This builder for chaining.