code: def setUp(self):
      super(CloudTunerTest, self).setUp()
      self.addCleanup(mock.patch.stopall)
  
      self._study_id = "study-a"
      self._region = "us-central1"
      self._remote_dir = "gs://remote_dir"
      self._project_id = "project-a"
      self._trial_parent = (
          f"projects/{self._project_id}/locations/{self._region}/studies/"
          f"{self._study_id}"
      )
      self._container_uri = ("test_container_uri",)
      hps = hp_module.HyperParameters()
      hps.Choice("learning_rate", [1e-4, 1e-3, 1e-2])
      self._test_hyperparameters = hps
  
      self._study_config = {
          "algorithm": "ALGORITHM_UNSPECIFIED",
          "metrics": [{"metric": "val_acc", "goal": "MAXIMIZE"}],
          "parameters": [
              {
                  "parameter": "learning_rate",
                  "discrete_value_spec": {
                      "values": [0.0001, 0.001, 0.01]
                  },
                  "type": "DISCRETE",
              }
          ],
          "automatedStoppingConfig": {
              "decayCurveStoppingConfig": {"useElapsedTime": True}
          },
      }
  
      self._test_trial = trial_module.Trial(
          hyperparameters=self._test_hyperparameters,
          trial_id="1",
          status=trial_module.TrialStatus.RUNNING,
      )
      self._job_id = f"{self._study_id}_{self._test_trial.trial_id}"
      self.mock_vizier_client_module = mock.patch.object(
          tuner, "vizier_client", autospec=True
      ).start()
  
      self.mock_client = mock.create_autospec(
          vizier_client._VizierClient
      )
      self.mock_vizier_client_module.create_or_load_study.return_value = (
          self.mock_client
      )
  
imports: import os
  import time
  from keras_tuner.engine import hypermodel
  from keras_tuner.engine import hyperparameters
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.engine import tuner
  import mock
  import tensorflow
  from tensorboard.plugins.hparams import api
  from tensorflow_cloud.core import deploy
  from tensorflow_cloud.core import machine_config
  from tensorflow_cloud.core import validate
  from tensorflow_cloud.tuner import cloud_fit_client
  from tensorflow_cloud.tuner import tuner
  from tensorflow_cloud.tuner.tuner import vizier_client
  from tensorflow_cloud.utils import google_api_client
  from tensorflow_cloud.utils import tf_utils
label_desc: Use image node_id 1 for calling the CloudTunerTest obj's underlying member method code with example usage: obj.setUp() without return types