powered by
For non repeated fields, a call to the HasField method of the corresponding Message is issued.
HasField
Message
For repeated fields, a call to the FieldSize method is issued, and the message is declared to have the field if the size is greater than 0.
FieldSize