cirq_google.serialization.arg_func_langs.arg_to_proto

Writes an argument value into an Arg proto.

value The value to encode.
out The proto to write the result into. Defaults to a new instance.

The proto that was written into.

ValueError if the object holds unsupported values.