PbAddMessage Function

Adds an embedded protobuf message to a protobuf message repeated field.

Handle PbAddMessage(Handle pb, const char[] field)

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

Return Value

protobuf handle to added, embedded message.

Errors

Invalid or incorrect Handle, non-existent field, or incorrect field type.