Learn R Programming

RProtoBuf (version 0.1-0)

size-methods: Size of a message field

Description

The number of object currently in a given field of a protocol buffer message.

For non repeated fields, the size is 1 if the message has the field, 0 otherwise.

For repeated fields, the size is the number of objects in the array.

Arguments