class Protobuf::Field::FieldArray

def to_hash_value

The value in this case would be an array.
Return a hash-representation of the given values for this field type.
def to_hash_value
  map do |value|
    value.respond_to?(:to_hash_value) ? value.to_hash_value : value
  end
end