cirq_google.api.v2.sweep_to_proto

Converts a Sweep to v2 protobuf message.

sweep The sweep to convert.
out Optional message to be populated. If not given, a new message will be created.

Populated sweep protobuf message.