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

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

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

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

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

        public boolean hasName()
         Name of the registered model that the tag was logged under.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasName in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Name of the registered model that the tag was logged under.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getName in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        The name.
      • getNameBytes

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

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

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

        public ModelRegistry.DeleteModelVersionTag.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the registered model that the tag was logged under.
         
        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 that the tag was logged under.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasVersion in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        Whether the version field is set.
      • getVersion

        public java.lang.String getVersion()
         Model version number that the tag was logged under.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getVersion in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        The version.
      • getVersionBytes

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

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

        public ModelRegistry.DeleteModelVersionTag.Builder clearVersion()
         Model version number that the tag was logged under.
         
        optional string version = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setVersionBytes

        public ModelRegistry.DeleteModelVersionTag.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Model version number that the tag was logged under.
         
        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. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Specified by:
        hasKey in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        Whether the key field is set.
      • getKey

        public java.lang.String getKey()
         Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getKey in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getKeyBytes in interface ModelRegistry.DeleteModelVersionTagOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public ModelRegistry.DeleteModelVersionTag.Builder setKey​(java.lang.String value)
         Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public ModelRegistry.DeleteModelVersionTag.Builder clearKey()
         Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setKeyBytes

        public ModelRegistry.DeleteModelVersionTag.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes.
         
        optional string key = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.