tfx.dsl.compiler.compiler_utils.set_runtime_parameter_pb

Helper function to fill a RuntimeParameter proto.

pb A RuntimeParameter proto to be filled in.
name Name to be set at pb.name.
ptype The Python type to be set at pb.type.
default_value Optional. If provided, it will be pb.default_value.

A RuntimeParameter proto filled with provided values.