def get_device(self) -> cirq.Device:
        """Returns a `Device` created from the processor's device specification.

        This method queries the processor to retrieve the device specification,
        which is then use to create a `Device` that will validate
        that operations are supported and use the correct qubits.

        Args:
            gate_sets: An iterable of serializers that can be used in the device.

        Returns:
            A `cirq.Devive` representing the processor.
        """
Returns a `Device` created from the processor's device specification.

        This method queries the processor to retrieve the device specification,
        which is then use to create a `Device` that will validate
        that operations are supported and use the correct qubits.

        Args:
            gate_sets: An iterable of serializers that can be used in the device.

        Returns:
            A `cirq.Devive` representing the processor.
        
cirq-google/cirq_google/engine/abstract_processor.py