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

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

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

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

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

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

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

        public ModelRegistry.DeleteModelVersion.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.
      • clearName

        public ModelRegistry.DeleteModelVersion.Builder clearName()
         Name of the registered model
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setNameBytes

        public ModelRegistry.DeleteModelVersion.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.
      • getVersionBytes

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

        public ModelRegistry.DeleteModelVersion.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.DeleteModelVersion.Builder clearVersion()
         Model version number
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setVersionBytes

        public ModelRegistry.DeleteModelVersion.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.