code: def SetProtocol(self, protocol):
      
      protocol = protocol.lower().strip()
      if protocol not in ['http', 'https']:
        raise ValueError('Invalid protocol specified for Viper lookup')
      self._analyzer.SetProtocol(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 an invalid protocol is selected.