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

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

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

        public ModelRegistry.SetRegisteredModelAlias 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.SetRegisteredModelAlias.Builder>
      • mergeFrom

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

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

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

        public boolean hasAlias()
         Name of the alias. Maximum size depends on storage backend.
         If an alias with this name already exists, its preexisting value will be replaced by the specified `version`.
         All storage backends are guaranteed to support alias name values up to 256 bytes in size.
         
        optional string alias = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasAlias in interface ModelRegistry.SetRegisteredModelAliasOrBuilder
        Returns:
        Whether the alias field is set.
      • getAlias

        public java.lang.String getAlias()
         Name of the alias. Maximum size depends on storage backend.
         If an alias with this name already exists, its preexisting value will be replaced by the specified `version`.
         All storage backends are guaranteed to support alias name values up to 256 bytes in size.
         
        optional string alias = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getAlias in interface ModelRegistry.SetRegisteredModelAliasOrBuilder
        Returns:
        The alias.
      • getAliasBytes

        public com.google.protobuf.ByteString getAliasBytes()
         Name of the alias. Maximum size depends on storage backend.
         If an alias with this name already exists, its preexisting value will be replaced by the specified `version`.
         All storage backends are guaranteed to support alias name values up to 256 bytes in size.
         
        optional string alias = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getAliasBytes in interface ModelRegistry.SetRegisteredModelAliasOrBuilder
        Returns:
        The bytes for alias.
      • setAlias

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

        public ModelRegistry.SetRegisteredModelAlias.Builder clearAlias()
         Name of the alias. Maximum size depends on storage backend.
         If an alias with this name already exists, its preexisting value will be replaced by the specified `version`.
         All storage backends are guaranteed to support alias name values up to 256 bytes in size.
         
        optional string alias = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setAliasBytes

        public ModelRegistry.SetRegisteredModelAlias.Builder setAliasBytes​(com.google.protobuf.ByteString value)
         Name of the alias. Maximum size depends on storage backend.
         If an alias with this name already exists, its preexisting value will be replaced by the specified `version`.
         All storage backends are guaranteed to support alias name values up to 256 bytes in size.
         
        optional string alias = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for alias to set.
        Returns:
        This builder for chaining.
      • setVersion

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

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