class_docstr: Enum to filter requested experiment types.
class_docstr_tok: ["Enum","to","filter","requested","experiment","types","."]
code: def from_proto(cls, proto_view_type):
      if proto_view_type == service_pb2.ACTIVE_ONLY:
          return cls.ACTIVE_ONLY
      elif proto_view_type == service_pb2.DELETED_ONLY:
          return cls.DELETED_ONLY
      elif proto_view_type == service_pb2.ALL:
          return cls.ALL
      raise ValueError(f"Unexpected proto_view_type: {proto_view_type}")
  
imports: from mlflow.protos import service_pb2
label_desc: Use image node_id 4 for calling the ViewType obj's underlying member method code with example usage: obj.from_proto(cls, proto_view_type) and returns: cls, cls, cls