code: def SetProtocol(self, protocol):
      
      if protocol not in self.SUPPORTED_PROTOCOLS:
        raise ValueError('Unsupported protocol: {0!s}'.format(protocol))
  
      self._protocol = protocol
docs: Sets the protocol that will be used to query Viper.
  
      Args:
        protocol (str): protocol to use to query Viper. Either 'http' or 'https'.
  
      Raises:
        ValueError: if the protocol is not supported.