class_docstr: Alias object associated with a registered model.
code: def to_proto(self):
      alias_proto = ProtoRegisteredModelAlias()
      alias_proto.alias = self.alias
      alias_proto.version = self.version
      return alias_proto
  
file_path: mlflow/mlflow/entities/model_registry/registered_model_alias.py
imports: from mlflow.entities.model_registry._model_registry_entity import _ModelRegistryEntity
  from mlflow.protos.model_registry_pb2 import RegisteredModelAlias
label_desc: Use image node_id 6 for calling the RegisteredModelAlias obj's underlying member method code with example usage: obj.to_proto() and returns: alias_proto