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

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

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

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

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

        public ModelRegistry.SetRegisteredModelTag.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.SetRegisteredModelTag.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.
      • 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 = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasKey in interface ModelRegistry.SetRegisteredModelTagOrBuilder
        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 = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getKey in interface ModelRegistry.SetRegisteredModelTagOrBuilder
        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 = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getKeyBytes in interface ModelRegistry.SetRegisteredModelTagOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public ModelRegistry.SetRegisteredModelTag.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 = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

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

        public ModelRegistry.SetRegisteredModelTag.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 = 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.
         
        optional string value = 3 [(.mlflow.validate_required) = true];
        Specified by:
        hasValue in interface ModelRegistry.SetRegisteredModelTagOrBuilder
        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.
         
        optional string value = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getValue in interface ModelRegistry.SetRegisteredModelTagOrBuilder
        Returns:
        The value.
      • getValueBytes

        public com.google.protobuf.ByteString getValueBytes()
         String value of the tag being logged. Maximum size depends on storage backend.
         
        optional string value = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getValueBytes in interface ModelRegistry.SetRegisteredModelTagOrBuilder
        Returns:
        The bytes for value.
      • setValue

        public ModelRegistry.SetRegisteredModelTag.Builder setValue​(java.lang.String value)
         String value of the tag being logged. Maximum size depends on storage backend.
         
        optional string value = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public ModelRegistry.SetRegisteredModelTag.Builder clearValue()
         String value of the tag being logged. Maximum size depends on storage backend.
         
        optional string value = 3 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setValueBytes

        public ModelRegistry.SetRegisteredModelTag.Builder setValueBytes​(com.google.protobuf.ByteString value)
         String value of the tag being logged. Maximum size depends on storage backend.
         
        optional string value = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for value to set.
        Returns:
        This builder for chaining.