class_docstr: The domain of a hyperparameter.
  
  Domains are restricted to values of the simple types `float`, `int`,
  `str`, and `bool`.
class_docstr_tok: ["The","domain","of","a","hyperparameter",".","Domains","are","restricted","to","values","of","the","simple","types","`","float","`",",","`","int","`",",","`","str","`",",","and","`","bool","`","."]
docstr: Update an `HParamInfo` proto to include this domain.
  
  This should update the `type` field on the proto and exactly one of
  the `domain` variants on the proto.
  
  Args:
    hparam_info: An `api_pb2.HParamInfo` proto to modify.
docstr_tok: ["Update","an","`","HParamInfo","`","proto","to","include","this","domain",".","This","should","update","the","`","type","`","field","on","the","proto","and","exactly","one","of","the","`","domain","`","variants","on","the","proto",".","Args",":","hparam_info",":","An","`","api_pb2.HParamInfo","`","proto","to","modify","."]
code: def update_hparam_info(self, hparam_info):
      """Update an `HParamInfo` proto to include this domain.
  
      This should update the `type` field on the proto and exactly one of
      the `domain` variants on the proto.
  
      Args:
        hparam_info: An `api_pb2.HParamInfo` proto to modify.
      """
      pass
  
imports: import abc
  import hashlib
  import json
  import random
  import time
  import numpy
  from tensorboard.compat import tf2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import metadata
  from tensorboard.plugins.hparams import plugin_data_pb2
label_desc: Use image node_id 3 for calling the Domain obj's underlying member method code with example usage: obj.update_hparam_info(hparam_info) without return types